AppList as a filter Markdown

Tweak.plist


{ Filter = { Bundles = ( "com.apple.UIKit" ) } }


Tweak.xm


%group GROUP_NAME_A %hook NSSomeClass - (void)someMethod { return; } %end %end %ctor { NSString *bundleID = [[NSBundle mainBundle] bundleIdentifier]; // Either this or whatever works from link after this NSString *plistpath = @"/User/Library/Preferences/com.your.tweak.plist"; NSMutableDictionary *plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:plistpath]; if ([[plistDict objectForKey:bundleID] boolValue]) { %init(GROUP_NAME_A); } }


THIS LINK