Giter Site home page Giter Site logo

jinx's Introduction

About Me ✨

She never could learn or understand anything before she was taught; and sometimes not even then, for she was often inattentive, and occasionally stupid. - Jane Austen, Northanger Abbey

Hello! I'm an iOS tweak developer with an interest in software liberation (Ahoy! 🏴‍☠️) and getting lost in stories (I usually find my way out). Mostly code in Swift. It's summer holiday, so updates incoming!

Contact Me ✉️

For fastest replies, ping me on Discord/Matrix during a weekend. I also see Reddit DMs, but not Reddit Chat or Discord DM.

Actively Updated 🆕

  • Azula
  • Erika
  • Jinx
  • Satella
  • Violyn
  • Vivy

To-Do List 🗒

  • 「Sekret Project」 Everything is on hold for this. It'll be cool, trust me
  • 「Violyn」 Full rewrite, etc.
  • 「Azula」 Get security scoping for imports, but do it properly this time
  • 「Star Forge」 Full rewrite. Still no K2 support lol
  • 「PaiBloxx」 Rewrite everything in Swift

jinx's People

Contributors

paisseon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jinx's Issues

I need some help with trying to hook some things with this.

What do I need to do to get this working with your framework:

%hook TFNCustomTabBar
-(void)longPress:(id)arg1 {
//return whatever code I want here
}
%end

%hook TAEDarkColorPalette

  • (UIColor *)backgroundColor {
    return [UIColor redColor]
    }
    %end

I keep getting Value of type 'DarkColorPaletteHook' has no member 'hookClass'

Value of type 'DarkColorPaletteHook' has no member 'hookClass'

//struct DarkColorPaletteHook: Hook {
struct DarkColorPaletteHook: HookCalass {
typealias T0 = @convention(c) (AnyObject, Selector) -> UIColor

let `class`: AnyClass? = objc_getClass("TAEDarkColorPalette") as? AnyClass
let hooks: [any Groupable] = [
    SubHook(
        selector: sel_registerName("backgroundColor"),
        type: T0.self,
        replacement: { _, _ in .black}
    ),
    
    SubHook(
        selector: sel_registerName("secondaryBackgroundColor"),
        type: T0.self,
        replacement: { _, _ in .gray }
    ),
    
    SubHook(
        selector: sel_registerName("textColor"),
        type: T0.self,
        replacement: { _, _ in .white }
    ),

    SubHook(
        selector: sel_registerName("textDetailsColor"),
        type: T0.self,
        replacement: { _, _ in .red }
    )
]

}

struct Tweak {
static func ctor() {
CustomTabBarHook().hook()
DarkColorPaletteHook().HookClass()
}
}

@_cdecl("jinx_entry")
func jinx_entry() {
Tweak.ctor()
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.