├── obj ├── .stamp ├── AlphaBadge.dylib └── Tweak.xm.94882537.o ├── theos ├── badgepref ├── obj │ ├── .stamp │ ├── BadgePref.bundle │ │ ├── icon.png │ │ ├── BadgePref │ │ ├── icon@2x.png │ │ ├── settings.png │ │ ├── settings@2x.png │ │ ├── Info.plist │ │ └── BadgePref.plist │ └── BadgePref.mm.6c66139a.o ├── theos ├── .DS_Store ├── Resources │ ├── .DS_Store │ ├── icon.png │ ├── icon@2x.png │ ├── settings.png │ ├── settings@2x.png │ ├── Info.plist │ └── BadgePref.plist ├── entry.plist ├── Makefile └── BadgePref.mm ├── AlphaBadge.plist ├── _ ├── Library │ ├── MobileSubstrate │ │ └── DynamicLibraries │ │ │ ├── AlphaBadge.plist │ │ │ └── AlphaBadge.dylib │ ├── PreferenceBundles │ │ └── BadgePref.bundle │ │ │ ├── BadgePref │ │ │ ├── icon.png │ │ │ ├── icon@2x.png │ │ │ ├── settings.png │ │ │ ├── settings@2x.png │ │ │ ├── Info.plist │ │ │ └── BadgePref.plist │ └── PreferenceLoader │ │ └── Preferences │ │ └── BadgePref.plist └── DEBIAN │ └── control ├── debs ├── com.twodayslate.alphabadge_1.0-1_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-19_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-20_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-21_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-22_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-23_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-24_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-25_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-26_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-27_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-28_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-29_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-30_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-31_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-32_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-33_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-34_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-35_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-36_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-37_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-38_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-39_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-40_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-41_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-42_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-43_iphoneos-arm.deb ├── com.twodayslate.alphabadge_0.0.1-44_iphoneos-arm.deb └── com.twodayslate.alphabadge_0.0.1-45_iphoneos-arm.deb ├── control ├── Makefile └── Tweak.xm /obj/.stamp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theos: -------------------------------------------------------------------------------- 1 | /opt/theos -------------------------------------------------------------------------------- /badgepref/obj/.stamp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /badgepref/theos: -------------------------------------------------------------------------------- 1 | /opt/theos -------------------------------------------------------------------------------- /AlphaBadge.plist: -------------------------------------------------------------------------------- 1 | { Filter = { Bundles = ( "com.apple.springboard" ); }; } 2 | -------------------------------------------------------------------------------- /badgepref/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/.DS_Store -------------------------------------------------------------------------------- /obj/AlphaBadge.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/obj/AlphaBadge.dylib -------------------------------------------------------------------------------- /obj/Tweak.xm.94882537.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/obj/Tweak.xm.94882537.o -------------------------------------------------------------------------------- /badgepref/Resources/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/Resources/.DS_Store -------------------------------------------------------------------------------- /badgepref/Resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/Resources/icon.png -------------------------------------------------------------------------------- /_/Library/MobileSubstrate/DynamicLibraries/AlphaBadge.plist: -------------------------------------------------------------------------------- 1 | { Filter = { Bundles = ( "com.apple.springboard" ); }; } 2 | -------------------------------------------------------------------------------- /badgepref/Resources/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/Resources/icon@2x.png -------------------------------------------------------------------------------- /badgepref/Resources/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/Resources/settings.png -------------------------------------------------------------------------------- /badgepref/Resources/settings@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/Resources/settings@2x.png -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.bundle/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/obj/BadgePref.bundle/icon.png -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.mm.6c66139a.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/obj/BadgePref.mm.6c66139a.o -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.bundle/BadgePref: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/obj/BadgePref.bundle/BadgePref -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.bundle/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/obj/BadgePref.bundle/icon@2x.png -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.bundle/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/obj/BadgePref.bundle/settings.png -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.bundle/settings@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/badgepref/obj/BadgePref.bundle/settings@2x.png -------------------------------------------------------------------------------- /_/Library/PreferenceBundles/BadgePref.bundle/BadgePref: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/_/Library/PreferenceBundles/BadgePref.bundle/BadgePref -------------------------------------------------------------------------------- /_/Library/PreferenceBundles/BadgePref.bundle/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/_/Library/PreferenceBundles/BadgePref.bundle/icon.png -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_1.0-1_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_1.0-1_iphoneos-arm.deb -------------------------------------------------------------------------------- /_/Library/PreferenceBundles/BadgePref.bundle/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/_/Library/PreferenceBundles/BadgePref.bundle/icon@2x.png -------------------------------------------------------------------------------- /_/Library/MobileSubstrate/DynamicLibraries/AlphaBadge.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/_/Library/MobileSubstrate/DynamicLibraries/AlphaBadge.dylib -------------------------------------------------------------------------------- /_/Library/PreferenceBundles/BadgePref.bundle/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/_/Library/PreferenceBundles/BadgePref.bundle/settings.png -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-19_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-19_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-20_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-20_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-21_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-21_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-22_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-22_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-23_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-23_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-24_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-24_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-25_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-25_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-26_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-26_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-27_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-27_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-28_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-28_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-29_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-29_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-30_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-30_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-31_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-31_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-32_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-32_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-33_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-33_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-34_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-34_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-35_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-35_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-36_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-36_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-37_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-37_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-38_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-38_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-39_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-39_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-40_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-40_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-41_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-41_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-42_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-42_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-43_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-43_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-44_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-44_iphoneos-arm.deb -------------------------------------------------------------------------------- /debs/com.twodayslate.alphabadge_0.0.1-45_iphoneos-arm.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/debs/com.twodayslate.alphabadge_0.0.1-45_iphoneos-arm.deb -------------------------------------------------------------------------------- /_/Library/PreferenceBundles/BadgePref.bundle/settings@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twodayslate/AlphaBadge/master/_/Library/PreferenceBundles/BadgePref.bundle/settings@2x.png -------------------------------------------------------------------------------- /badgepref/entry.plist: -------------------------------------------------------------------------------- 1 | { 2 | entry = { 3 | bundle = BadgePref; 4 | cell = PSLinkCell; 5 | detail = BadgePrefListController; 6 | icon = settings.png; 7 | isController = 1; 8 | label = "AlphaBadge"; 9 | }; 10 | } 11 | -------------------------------------------------------------------------------- /_/Library/PreferenceLoader/Preferences/BadgePref.plist: -------------------------------------------------------------------------------- 1 | { 2 | entry = { 3 | bundle = BadgePref; 4 | cell = PSLinkCell; 5 | detail = BadgePrefListController; 6 | icon = settings.png; 7 | isController = 1; 8 | label = "AlphaBadge"; 9 | }; 10 | } 11 | -------------------------------------------------------------------------------- /control: -------------------------------------------------------------------------------- 1 | Package: com.twodayslate.alphabadge 2 | Name: AlphaBadge 3 | Depends: mobilesubstrate 4 | Version: 1.0 5 | Architecture: iphoneos-arm 6 | Description: Change the transparency of your badges! 7 | Maintainer: twodayslate 8 | Author: twodayslate 9 | Section: Tweaks 10 | Icon: file:///Library/PreferenceBundles/BadgePref.bundle/icon.png 11 | -------------------------------------------------------------------------------- /_/DEBIAN/control: -------------------------------------------------------------------------------- 1 | Package: com.twodayslate.alphabadge 2 | Name: AlphaBadge 3 | Depends: mobilesubstrate 4 | Architecture: iphoneos-arm 5 | Description: Change the transparency of your badges! 6 | Maintainer: twodayslate 7 | Author: twodayslate 8 | Section: Tweaks 9 | Icon: file:///Library/PreferenceBundles/BadgePref.bundle/icon.png 10 | Version: 1.0-8 11 | Installed-Size: 184 12 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | THEOS_DEVICE_IP ?= 192.168.1.24 2 | THEOS_DEVICE_PORT ?= 22 3 | 4 | THEOS_PACKAGE_DIR_NAME = debs 5 | TARGET := iphone:clang 6 | ARCHS := armv7 arm64 7 | 8 | include theos/makefiles/common.mk 9 | 10 | TWEAK_NAME = AlphaBadge 11 | AlphaBadge_FILES = Tweak.xm 12 | AlphaBadge_ARCHS = armv7 arm64 13 | 14 | include $(THEOS_MAKE_PATH)/tweak.mk 15 | 16 | SUBPROJECTS += badgepref 17 | 18 | include $(THEOS_MAKE_PATH)/aggregate.mk 19 | 20 | after-install:: 21 | install.exec "killall -9 SpringBoard" 22 | -------------------------------------------------------------------------------- /badgepref/Makefile: -------------------------------------------------------------------------------- 1 | TARGET=:clang 2 | ARCHS = armv7 armv7s arm64 3 | 4 | include theos/makefiles/common.mk 5 | 6 | BUNDLE_NAME = BadgePref 7 | BadgePref_FILES = BadgePref.mm 8 | BadgePref_INSTALL_PATH = /Library/PreferenceBundles 9 | BadgePref_FRAMEWORKS = UIKit 10 | BadgePref_PRIVATE_FRAMEWORKS = Preferences 11 | BadgePref_ARCHS = armv7 arm64 12 | 13 | #export SYSROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk 14 | 15 | include $(THEOS_MAKE_PATH)/bundle.mk 16 | 17 | internal-stage:: 18 | $(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END) 19 | $(ECHO_NOTHING)cp entry.plist $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences/BadgePref.plist$(ECHO_END) 20 | -------------------------------------------------------------------------------- /Tweak.xm: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | @interface SBIconBadgeView : UIView 5 | @end 6 | 7 | @interface NSUserDefaults (extras) 8 | -(id)objectForKey:(id)arg1 inDomain:(id)arg2 ; 9 | @end 10 | 11 | %hook SBIconBadgeView 12 | 13 | -(void)setAlpha:(CGFloat)arg1 { 14 | CGFloat myAlpha = [[[NSUserDefaults standardUserDefaults] objectForKey:@"alpha" inDomain:@"com.twodayslate.alphabadge"] floatValue]/100; 15 | if(arg1 > myAlpha) { 16 | arg1 = myAlpha; 17 | } 18 | %orig; 19 | } 20 | %end 21 | 22 | %ctor { 23 | dlopen("/Library/MobileSubstrate/DynamicLibraries/ColorBadges.dylib", RTLD_NOW); 24 | dlopen("/Library/MobileSubstrate/DynamicLibraries/Apex.dylib", RTLD_NOW); 25 | dlopen("/Library/MobileSubstrate/DynamicLibraries/Springtomize3.dylib", RTLD_NOW); 26 | dlopen("/Library/MobileSubstrate/DynamicLibraries/SpringtomizeUbiquitous.dylib", RTLD_NOW); 27 | } 28 | -------------------------------------------------------------------------------- /badgepref/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | BadgePref 9 | CFBundleIdentifier 10 | com.twodayslate.alphabadge 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1.0 21 | DTPlatformName 22 | iphoneos 23 | MinimumOSVersion 24 | 3.0 25 | NSPrincipalClass 26 | AlphaBadgePrefListController 27 | 28 | 29 | -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | BadgePref 9 | CFBundleIdentifier 10 | com.twodayslate.alphabadge 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1.0 21 | DTPlatformName 22 | iphoneos 23 | MinimumOSVersion 24 | 3.0 25 | NSPrincipalClass 26 | AlphaBadgePrefListController 27 | 28 | 29 | -------------------------------------------------------------------------------- /_/Library/PreferenceBundles/BadgePref.bundle/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | BadgePref 9 | CFBundleIdentifier 10 | com.twodayslate.alphabadge 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1.0 21 | DTPlatformName 22 | iphoneos 23 | MinimumOSVersion 24 | 3.0 25 | NSPrincipalClass 26 | AlphaBadgePrefListController 27 | 28 | 29 | -------------------------------------------------------------------------------- /badgepref/BadgePref.mm: -------------------------------------------------------------------------------- 1 | //#import 2 | //#include 3 | #import 4 | 5 | @interface PSViewController 6 | -(void)setPreferenceValue:(id)arg1 specifier:(id)arg2 ; 7 | @end 8 | 9 | @interface PSListController : PSViewController { 10 | NSArray* _specifiers; 11 | } 12 | -(void)loadView; 13 | -(id)loadSpecifiersFromPlistName:(id)arg1 target:(id)arg2 ; 14 | -(void)reloadSpecifier:(id)arg1 ; 15 | -(id)specifierForID:(id)arg1 ; 16 | @end 17 | 18 | @interface PSSpecifier 19 | @end 20 | 21 | @interface PSTableCell : UITableViewCell 22 | -(id)initWithStyle:(int)arg1 reuseIdentifier:(id)arg2 specifier:(id)arg3 ; 23 | @end 24 | 25 | @interface AlphaBadgePrefListController: PSListController { 26 | } 27 | @end 28 | 29 | @implementation AlphaBadgePrefListController 30 | - (id)specifiers { 31 | if(_specifiers == nil) { 32 | _specifiers = [[self loadSpecifiersFromPlistName:@"BadgePref" target:self] retain]; 33 | } 34 | return _specifiers; 35 | } 36 | 37 | 38 | -(void)respring { 39 | system("killall -9 SpringBoard"); 40 | } 41 | @end -------------------------------------------------------------------------------- /badgepref/Resources/BadgePref.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | items 6 | 7 | 8 | cell 9 | PSGroupCell 10 | label 11 | Alpha 12 | footerText 13 | Changes will not be made until a respring or the badge is drawn again. 14 | footerAlignment 15 | 1 16 | 17 | 18 | cell 19 | PSSliderCell 20 | default 21 | 100 22 | min 23 | 0 24 | max 25 | 100 26 | defaults 27 | com.twodayslate.alphabadge 28 | key 29 | alpha 30 | id 31 | alpha 32 | label 33 | Alpha 34 | showValue 35 | 36 | PostNotification 37 | com.twodayslate.alphabadge/settingschanged 38 | 39 | 40 | 41 | cell 42 | PSGroupCell 43 | 44 | 45 | cell 46 | PSButtonCell 47 | label 48 | Save and Respring 49 | id 50 | respring 51 | action 52 | respring 53 | 54 | 55 | 56 | title 57 | AlphaBadge 58 | 59 | -------------------------------------------------------------------------------- /badgepref/obj/BadgePref.bundle/BadgePref.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | items 6 | 7 | 8 | cell 9 | PSGroupCell 10 | label 11 | Alpha 12 | footerText 13 | Changes will not be made until a respring or the badge is drawn again. 14 | footerAlignment 15 | 1 16 | 17 | 18 | cell 19 | PSSliderCell 20 | default 21 | 100 22 | min 23 | 0 24 | max 25 | 100 26 | defaults 27 | com.twodayslate.alphabadge 28 | key 29 | alpha 30 | id 31 | alpha 32 | label 33 | Alpha 34 | showValue 35 | 36 | PostNotification 37 | com.twodayslate.alphabadge/settingschanged 38 | 39 | 40 | 41 | cell 42 | PSGroupCell 43 | 44 | 45 | cell 46 | PSButtonCell 47 | label 48 | Save and Respring 49 | id 50 | respring 51 | action 52 | respring 53 | 54 | 55 | 56 | title 57 | AlphaBadge 58 | 59 | -------------------------------------------------------------------------------- /_/Library/PreferenceBundles/BadgePref.bundle/BadgePref.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | items 6 | 7 | 8 | cell 9 | PSGroupCell 10 | label 11 | Alpha 12 | footerText 13 | Changes will not be made until a respring or the badge is drawn again. 14 | footerAlignment 15 | 1 16 | 17 | 18 | cell 19 | PSSliderCell 20 | default 21 | 100 22 | min 23 | 0 24 | max 25 | 100 26 | defaults 27 | com.twodayslate.alphabadge 28 | key 29 | alpha 30 | id 31 | alpha 32 | label 33 | Alpha 34 | showValue 35 | 36 | PostNotification 37 | com.twodayslate.alphabadge/settingschanged 38 | 39 | 40 | 41 | cell 42 | PSGroupCell 43 | 44 | 45 | cell 46 | PSButtonCell 47 | label 48 | Save and Respring 49 | id 50 | respring 51 | action 52 | respring 53 | 54 | 55 | 56 | title 57 | AlphaBadge 58 | 59 | --------------------------------------------------------------------------------