├── .gitignore ├── CAPerfHUDApp ├── AppDelegate.h ├── AppDelegate.m ├── Makefile ├── Resources │ └── Info.plist ├── SceneDelegate.h ├── SceneDelegate.m ├── ViewController.h ├── ViewController.m ├── control ├── entitlements.xml └── main.m ├── CAPerfHUDModule ├── CADebugHelper │ ├── Makefile │ ├── entitlements.xml │ └── main.m ├── CAPHMenuModule.h ├── CAPHMenuModule.m ├── CAPHMenuModuleViewController.h ├── CAPHMenuModuleViewController.m ├── Common │ └── .stamp ├── Makefile ├── Resources │ ├── AppIcon@1x.png │ ├── AppIcon@2x.png │ ├── AppIcon@3x.png │ ├── Info.plist │ └── SettingsIcon.png ├── control └── include │ └── ControlCenterUIKit │ ├── CCUIAppLauncherModule.h │ ├── CCUIAppLauncherViewController.h │ ├── CCUIButtonModuleView.h │ ├── CCUIButtonModuleViewController.h │ ├── CCUICAPackageDescription.h │ ├── CCUICAPackageView.h │ ├── CCUIContentClipping.h │ ├── CCUIContentModule.h │ ├── CCUIContentModuleContentViewController.h │ ├── CCUIContentModuleContext.h │ ├── CCUIContentModuleExpandedStateListener.h │ ├── CCUIContentModuleTopLevelGestureProvider.h │ ├── CCUIControlCenterButton.h │ ├── CCUIControlCenterLabel.h │ ├── CCUIControlCenterMaterialView.h │ ├── CCUIControlCenterSlider.h │ ├── CCUIControlCenterVisualEffect.h │ ├── CCUIGroupRendering.h │ ├── CCUILabeledRoundButton.h │ ├── CCUILabeledRoundButtonViewController.h │ ├── CCUIMenuModuleAnimationController.h │ ├── CCUIMenuModuleItem.h │ ├── CCUIMenuModuleItemView.h │ ├── CCUIMenuModulePresentationController.h │ ├── CCUIMenuModuleTransitioningDelegate.h │ ├── CCUIMenuModuleViewController.h │ ├── CCUIModuleSliderView.h │ ├── CCUIPunchOutMask.h │ ├── CCUIRoundButton.h │ ├── CCUISliderModuleBackgroundViewController.h │ ├── CCUIStatusUpdate.h │ ├── CCUIToggleModule.h │ ├── CCUIToggleViewController.h │ ├── ControlCenterUIKit-Structs.h │ ├── ControlCenterUIKit.h │ ├── SBFButton.h │ ├── UIGestureRecognizerDelegate.h │ ├── UIViewControllerAnimatedTransitioning.h │ ├── UIViewControllerTransitioningDelegate.h │ └── _UISettingsKeyObserver.h ├── Common ├── CADebugCommon.h └── CADebugCommon.m ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .theos/ 2 | packages/ 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /CAPerfHUDApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // 4 | 5 | #import 6 | 7 | @interface AppDelegate : UIResponder 8 | 9 | @property (strong, nonatomic) UIWindow *window; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /CAPerfHUDApp/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | #import "ViewController.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 7 | if (@available(iOS 13.0, *)) { 8 | } else { 9 | self.window = ([[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds 10 | ]]); 11 | ViewController *vc = [[ViewController alloc] init]; 12 | self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:vc]; 13 | [self.window makeKeyAndVisible]; 14 | } 15 | return YES; 16 | } 17 | 18 | #pragma mark - UISceneSession lifecycle 19 | - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options API_AVAILABLE(ios(13.0)){ 20 | // Called when a new scene session is being created. 21 | // Use this method to select a configuration to create the new scene with. 22 | return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role]; 23 | } 24 | 25 | 26 | - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet *)sceneSessions API_AVAILABLE(ios(13.0)){ 27 | // Called when the user discards a scene session. 28 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 29 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 30 | } 31 | 32 | - (void)applicationDidBecomeActive:(UIApplication *)application { 33 | } 34 | 35 | - (void)applicationDidEnterBackground:(UIApplication *)application { 36 | } 37 | 38 | - (void)applicationWillEnterForeground:(UIApplication *)application { 39 | } 40 | 41 | - (void)applicationWillResignActive:(UIApplication *)application { 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /CAPerfHUDApp/Makefile: -------------------------------------------------------------------------------- 1 | ARCHS := arm64 2 | FINALPACKAGE := 1 3 | TARGET := iphone:clang:latest:11.0 4 | INSTALL_TARGET_PROCESSES = CAPerfHUD 5 | 6 | include $(THEOS)/makefiles/common.mk 7 | 8 | APPLICATION_NAME = CAPerfHUD 9 | 10 | CAPerfHUD_FILES = main.m AppDelegate.m SceneDelegate.m ViewController.m ../Common/CADebugCommon.m 11 | CAPerfHUD_FRAMEWORKS = UIKit QuartzCore 12 | CAPerfHUD_CFLAGS = -fobjc-arc -I../Common 13 | CAPerfHUD_CODESIGN_FLAGS = -Sentitlements.xml 14 | 15 | include $(THEOS_MAKE_PATH)/application.mk 16 | -------------------------------------------------------------------------------- /CAPerfHUDApp/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleExecutable 6 | CAPerfHUD 7 | CFBundleIcons 8 | 9 | CFBundlePrimaryIcon 10 | 11 | CFBundleIconFiles 12 | 13 | AppIcon29x29 14 | AppIcon40x40 15 | AppIcon57x57 16 | AppIcon60x60 17 | 18 | UIPrerenderedIcon 19 | 20 | 21 | 22 | CFBundleIcons~ipad 23 | 24 | CFBundlePrimaryIcon 25 | 26 | CFBundleIconFiles 27 | 28 | AppIcon29x29 29 | AppIcon40x40 30 | AppIcon57x57 31 | AppIcon60x60 32 | AppIcon50x50 33 | AppIcon72x72 34 | AppIcon76x76 35 | 36 | UIPrerenderedIcon 37 | 38 | 39 | 40 | CFBundleIdentifier 41 | com.kdt.CAPerfHUD 42 | CFBundleInfoDictionaryVersion 43 | 6.0 44 | CFBundlePackageType 45 | APPL 46 | CFBundleSignature 47 | ???? 48 | CFBundleSupportedPlatforms 49 | 50 | iPhoneOS 51 | 52 | CFBundleVersion 53 | 1.0 54 | LSRequiresIPhoneOS 55 | 56 | MinimumOSVersion 57 | 11.0 58 | UIApplicationSceneManifest 59 | 60 | UIApplicationSupportsMultipleScenes 61 | 62 | UISceneConfigurations 63 | 64 | UIWindowSceneSessionRoleApplication 65 | 66 | 67 | UISceneConfigurationName 68 | Default Configuration 69 | UISceneDelegateClassName 70 | SceneDelegate 71 | 72 | 73 | 74 | 75 | UIDeviceFamily 76 | 77 | 1 78 | 2 79 | 80 | UILaunchImageFile 81 | LaunchImage 82 | UILaunchImages 83 | 84 | 85 | UILaunchImageMinimumOSVersion 86 | 7.0 87 | UILaunchImageName 88 | LaunchImage 89 | UILaunchImageOrientation 90 | Portrait 91 | UILaunchImageSize 92 | {320, 480} 93 | 94 | 95 | UILaunchImageMinimumOSVersion 96 | 7.0 97 | UILaunchImageName 98 | LaunchImage-700-568h 99 | UILaunchImageOrientation 100 | Portrait 101 | UILaunchImageSize 102 | {320, 568} 103 | 104 | 105 | UILaunchImageMinimumOSVersion 106 | 7.0 107 | UILaunchImageName 108 | LaunchImage-Portrait 109 | UILaunchImageOrientation 110 | Portrait 111 | UILaunchImageSize 112 | {768, 1024} 113 | 114 | 115 | UILaunchImageMinimumOSVersion 116 | 7.0 117 | UILaunchImageName 118 | LaunchImage-Landscape 119 | UILaunchImageOrientation 120 | Landscape 121 | UILaunchImageSize 122 | {768, 1024} 123 | 124 | 125 | UILaunchImageMinimumOSVersion 126 | 8.0 127 | UILaunchImageName 128 | LaunchImage-800-667h 129 | UILaunchImageOrientation 130 | Portrait 131 | UILaunchImageSize 132 | {375, 667} 133 | 134 | 135 | UILaunchImageMinimumOSVersion 136 | 8.0 137 | UILaunchImageName 138 | LaunchImage-800-Portrait-736h 139 | UILaunchImageOrientation 140 | Portrait 141 | UILaunchImageSize 142 | {414, 736} 143 | 144 | 145 | UILaunchImageMinimumOSVersion 146 | 8.0 147 | UILaunchImageName 148 | LaunchImage-800-Landscape-736h 149 | UILaunchImageOrientation 150 | Landscape 151 | UILaunchImageSize 152 | {414, 736} 153 | 154 | 155 | UIRequiredDeviceCapabilities 156 | 157 | arm64 158 | 159 | UISupportedInterfaceOrientations 160 | 161 | UIInterfaceOrientationPortrait 162 | UIInterfaceOrientationLandscapeLeft 163 | UIInterfaceOrientationLandscapeRight 164 | 165 | UISupportedInterfaceOrientations~ipad 166 | 167 | UIInterfaceOrientationPortrait 168 | UIInterfaceOrientationPortraitUpsideDown 169 | UIInterfaceOrientationLandscapeLeft 170 | UIInterfaceOrientationLandscapeRight 171 | 172 | 173 | 174 | -------------------------------------------------------------------------------- /CAPerfHUDApp/SceneDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface SceneDelegate : UIResponder 4 | 5 | @property (strong, nonatomic) UIWindow * window; 6 | 7 | @end 8 | -------------------------------------------------------------------------------- /CAPerfHUDApp/SceneDelegate.m: -------------------------------------------------------------------------------- 1 | #import "SceneDelegate.h" 2 | #import "ViewController.h" 3 | 4 | @interface SceneDelegate () 5 | 6 | @end 7 | 8 | @implementation SceneDelegate 9 | 10 | 11 | - (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions API_AVAILABLE(ios(13.0)) API_AVAILABLE(ios(13.0)) API_AVAILABLE(ios(13.0)){ 12 | if (@available(iOS 13.0, *)) { 13 | UIWindowScene *windowScene = (UIWindowScene *)scene; 14 | self.window = [[UIWindow alloc] initWithWindowScene:windowScene]; 15 | self.window.frame = windowScene.coordinateSpace.bounds; 16 | ViewController *vc = [[ViewController alloc] init]; 17 | self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:vc]; 18 | [self.window makeKeyAndVisible]; 19 | } else { 20 | } 21 | } 22 | 23 | 24 | - (void)sceneDidDisconnect:(UIScene *)scene API_AVAILABLE(ios(13.0)){ 25 | // Called as the scene is being released by the system. 26 | // This occurs shortly after the scene enters the background, or when its session is discarded. 27 | // Release any resources associated with this scene that can be re-created the next time the scene connects. 28 | // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead). 29 | } 30 | 31 | 32 | - (void)sceneDidBecomeActive:(UIScene *)scene API_AVAILABLE(ios(13.0)){ 33 | // Called when the scene has moved from an inactive state to an active state. 34 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. 35 | } 36 | 37 | 38 | - (void)sceneWillResignActive:(UIScene *)scene API_AVAILABLE(ios(13.0)){ 39 | // Called when the scene will move from an active state to an inactive state. 40 | // This may occur due to temporary interruptions (ex. an incoming phone call). 41 | } 42 | 43 | 44 | - (void)sceneWillEnterForeground:(UIScene *)scene API_AVAILABLE(ios(13.0)){ 45 | // Called as the scene transitions from the background to the foreground. 46 | // Use this method to undo the changes made on entering the background. 47 | } 48 | 49 | 50 | - (void)sceneDidEnterBackground:(UIScene *)scene API_AVAILABLE(ios(13.0)){ 51 | // Called as the scene transitions from the foreground to the background. 52 | // Use this method to save data, release shared resources, and store enough scene-specific state information 53 | // to restore the scene back to its current state. 54 | } 55 | 56 | @end 57 | -------------------------------------------------------------------------------- /CAPerfHUDApp/ViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface ViewController : UITableViewController 4 | 5 | @end 6 | -------------------------------------------------------------------------------- /CAPerfHUDApp/ViewController.m: -------------------------------------------------------------------------------- 1 | #import "CADebugCommon.h" 2 | #import "ViewController.h" 3 | 4 | @interface ViewController () 5 | @property(nonatomic) NSArray* modes; 6 | @property(nonatomic) NSIndexPath* selectedMode; 7 | @end 8 | 9 | @implementation ViewController 10 | 11 | - (void)viewDidLoad 12 | { 13 | [super viewDidLoad]; 14 | self.tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine; 15 | self.title = @"CAPerfHUD"; 16 | self.modes = CADebugCommon.perfHUDLevelNames; 17 | 18 | self.selectedMode = [NSIndexPath indexPathForRow:CADebugCommon.perfHUDLevel inSection:0]; 19 | } 20 | 21 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 22 | { 23 | return self.modes.count; 24 | } 25 | 26 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 27 | { 28 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"]; 29 | if (cell == nil) { 30 | cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"cell"]; 31 | } 32 | cell.textLabel.text = self.modes[indexPath.row]; 33 | if (self.selectedMode.row == indexPath.row) { 34 | cell.accessoryType = UITableViewCellAccessoryCheckmark; 35 | } else { 36 | cell.accessoryType = UITableViewCellAccessoryNone; 37 | } 38 | return cell; 39 | } 40 | 41 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 42 | { 43 | [tableView deselectRowAtIndexPath:indexPath animated:YES]; 44 | UITableViewCell *selectedCell = [self.tableView cellForRowAtIndexPath:self.selectedMode]; 45 | selectedCell.accessoryType = UITableViewCellAccessoryNone; 46 | selectedCell = [self.tableView cellForRowAtIndexPath:indexPath]; 47 | selectedCell.accessoryType = UITableViewCellAccessoryCheckmark; 48 | self.selectedMode = indexPath; 49 | 50 | CADebugCommon.perfHUDLevel = indexPath.row; 51 | } 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /CAPerfHUDApp/control: -------------------------------------------------------------------------------- 1 | Package: com.kdt.caperfhud 2 | Name: CAPerfHUD 3 | Version: 1.0.0 4 | Architecture: iphoneos-arm 5 | Description: Enable system-wide performance HUD 6 | Maintainer: khanhduytran0 7 | Author: khanhduytran0 8 | Section: Utilities 9 | -------------------------------------------------------------------------------- /CAPerfHUDApp/entitlements.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | application-identifier 6 | com.kdt.CAPerfHUD 7 | com.apple.QuartzCore.debug 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /CAPerfHUDApp/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "AppDelegate.h" 3 | 4 | int main(int argc, char **argv) { 5 | @autoreleasepool { 6 | return UIApplicationMain(argc, argv, nil, NSStringFromClass(AppDelegate.class)); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /CAPerfHUDModule/CADebugHelper/Makefile: -------------------------------------------------------------------------------- 1 | ARCHS := arm64 2 | FINALPACKAGE := 1 3 | TARGET := iphone:clang:latest:11.0 4 | 5 | include $(THEOS)/makefiles/common.mk 6 | 7 | TOOL_NAME = CADebugHelper 8 | 9 | CADebugHelper_FILES = main.m ../../Common/CADebugCommon.m 10 | CADebugHelper_CFLAGS = -fobjc-arc -I../../Common 11 | CADebugHelper_FRAMEWORKS = QuartzCore 12 | CADebugHelper_CODESIGN_FLAGS = -Sentitlements.xml 13 | CADebugHelper_INSTALL_PATH = /usr/bin 14 | 15 | include $(THEOS_MAKE_PATH)/tool.mk 16 | -------------------------------------------------------------------------------- /CAPerfHUDModule/CADebugHelper/entitlements.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | platform-application 5 | 6 | com.apple.private.security.container-required 7 | 8 | com.apple.QuartzCore.debug 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CAPerfHUDModule/CADebugHelper/main.m: -------------------------------------------------------------------------------- 1 | #import "CADebugCommon.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) { 5 | if (argc == 2) { 6 | int level = atoi(argv[1]); 7 | if (level == 10) { 8 | level = -1; 9 | } 10 | CADebugCommon.perfHUDLevel = level; 11 | } 12 | // Fast path return value 13 | return CADebugCommon.perfHUDLevel; 14 | } 15 | -------------------------------------------------------------------------------- /CAPerfHUDModule/CAPHMenuModule.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | #import "CAPHMenuModuleViewController.h" 5 | 6 | @interface CAPHMenuModule : NSObject 7 | 8 | @property(readonly, nonatomic) CAPHMenuModuleViewController* contentViewController; 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /CAPerfHUDModule/CAPHMenuModule.m: -------------------------------------------------------------------------------- 1 | #import "CAPHMenuModule.h" 2 | 3 | @implementation CAPHMenuModule 4 | @synthesize backgroundViewController; 5 | 6 | - (instancetype)init { 7 | if ((self = [super init])) { 8 | _contentViewController = [[CAPHMenuModuleViewController alloc] init]; 9 | 10 | } 11 | return self; 12 | } 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /CAPerfHUDModule/CAPHMenuModuleViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "ControlCenterUIKit/CCUIMenuModuleItem.h" 3 | #import "ControlCenterUIKit/CCUIMenuModuleItemView.h" 4 | #import "ControlCenterUIKit/CCUIMenuModuleViewController.h" 5 | 6 | @interface CAPHMenuModuleViewController : CCUIMenuModuleViewController 7 | @end 8 | -------------------------------------------------------------------------------- /CAPerfHUDModule/CAPHMenuModuleViewController.m: -------------------------------------------------------------------------------- 1 | #import "CADebugCommon.h" 2 | #import "CAPHMenuModuleViewController.h" 3 | #import 4 | #import 5 | 6 | #define HELPER_EXEC_PATH ROOT_PATH("/usr/bin/CADebugHelper") 7 | 8 | @interface CAPHMenuModuleViewController() 9 | @property(nonatomic, assign) int selectedLevel; 10 | @end 11 | 12 | @implementation CAPHMenuModuleViewController 13 | 14 | - (void)viewDidLoad { 15 | [super viewDidLoad]; 16 | 17 | self.glyphImage = [UIImage imageNamed:@"AppIcon" 18 | inBundle:[NSBundle bundleForClass:CAPHMenuModuleViewController.class] 19 | compatibleWithTraitCollection:nil]; 20 | self.indentation = 2; 21 | self.selectedGlyphColor = UIColor.redColor; 22 | 23 | self.title = @"CAPerfHUD"; 24 | } 25 | 26 | - (void)controlCenterWillPresent { 27 | self.selectedLevel = [self execHelperSet:NO level:0]; 28 | self.selected = self.selectedLevel > 0; 29 | } 30 | 31 | - (BOOL)shouldBeginTransitionToExpandedContentModule { 32 | return YES; 33 | } 34 | 35 | - (void)willTransitionToExpandedContentMode:(BOOL)animated { 36 | [super willTransitionToExpandedContentMode:animated]; 37 | 38 | NSArray *nameArr = CADebugCommon.perfHUDLevelNames; 39 | NSMutableArray *items = [NSMutableArray arrayWithCapacity:nameArr.count-1]; 40 | 41 | for (int i = 1; i < nameArr.count; i++) { 42 | items[i-1] = [[CCUIMenuModuleItem alloc] initWithTitle:nameArr[i] identifier:nameArr[i] handler:nil]; 43 | items[i-1].selected = i == self.selectedLevel; 44 | } 45 | self.menuItems = items; 46 | } 47 | 48 | - (void)buttonTapped:(CCUIButtonModuleView *)button forEvent:(UIEvent *)event { 49 | self.selected = !self.selected; 50 | // Set 10 if enabled, 0 otherwise 51 | self.selectedLevel = [self execHelperSet:YES level:self.selected*10]; 52 | 53 | [super buttonTapped:button forEvent:event]; 54 | } 55 | 56 | - (void)_handleActionTapped:(CCUIMenuModuleItemView *)view { 57 | [super _handleActionTapped:view]; 58 | 59 | NSArray *menuItemsViews = ((UIStackView *)view.superview).arrangedSubviews; 60 | 61 | if (self.selectedLevel > 0) { 62 | CCUIMenuModuleItemView *lastView = menuItemsViews[self.selectedLevel-1]; 63 | lastView.menuItem.selected = NO; 64 | if (self.useTrailingCheckmarkLayout) { 65 | lastView.trailingView = nil; 66 | } else { 67 | lastView.leadingView = nil; 68 | } 69 | } 70 | view.menuItem.selected = YES; 71 | [self _updateLeadingAndTrailingViews]; 72 | 73 | self.selected = YES; 74 | self.selectedLevel = [menuItemsViews indexOfObject:view]+1; 75 | 76 | [self execHelperSet:YES level:self.selectedLevel]; 77 | } 78 | 79 | - (int)execHelperSet:(BOOL)set level:(int)level { 80 | pid_t pid; 81 | int status; 82 | const char **args; 83 | if (set) { 84 | char levelStr[3]; 85 | sprintf(levelStr, "%d", level); 86 | args = (const char *[]){"CADebugHelper", levelStr, NULL}; 87 | } else { 88 | args = (const char *[]){"CADebugHelper", NULL}; 89 | } 90 | 91 | status = posix_spawn(&pid, HELPER_EXEC_PATH, NULL, NULL, (char* const*)args, NULL); 92 | if (status != 0) { 93 | return 0; 94 | } 95 | 96 | if (waitpid(pid, &status, 0) == -1) { 97 | return 0; 98 | } 99 | 100 | return WEXITSTATUS(status); 101 | } 102 | 103 | - (void)setSelected:(BOOL)selected { 104 | super.selected = selected; 105 | self.glyphState = (selected ? @"on" : @"off"); 106 | } 107 | 108 | - (BOOL)_canShowWhileLocked { 109 | return YES; 110 | } 111 | 112 | @end 113 | -------------------------------------------------------------------------------- /CAPerfHUDModule/Common/.stamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhduytran0/CAPerfHUD/a018a06744d47fb620d5886e8af1b68b422ef8fe/CAPerfHUDModule/Common/.stamp -------------------------------------------------------------------------------- /CAPerfHUDModule/Makefile: -------------------------------------------------------------------------------- 1 | FINALPACKAGE := 1 2 | ifeq ($(THEOS_PACKAGE_SCHEME),rootless) 3 | TARGET := iphone:clang:latest:15.0 4 | else 5 | TARGET := iphone:clang:latest:13.0 6 | endif 7 | INSTALL_TARGET_PROCESSES = SpringBoard 8 | 9 | include $(THEOS)/makefiles/common.mk 10 | 11 | BUNDLE_NAME = CAPerfHUDModule 12 | CAPerfHUDModule_BUNDLE_EXTENSION = bundle 13 | CAPerfHUDModule_FILES = CAPHMenuModule.m CAPHMenuModuleViewController.m ../Common/CADebugCommon.m 14 | CAPerfHUDModule_CFLAGS = -fobjc-arc -I../Common -Iinclude 15 | CAPerfHUDModule_FRAMEWORKS = UIKit QuartzCore 16 | CAPerfHUDModule_PRIVATE_FRAMEWORKS = ControlCenterUIKit 17 | CAPerfHUDModule_INSTALL_PATH = /Library/ControlCenter/Bundles/ 18 | 19 | include $(THEOS_MAKE_PATH)/bundle.mk 20 | SUBPROJECTS += CADebugHelper 21 | include $(THEOS_MAKE_PATH)/aggregate.mk 22 | -------------------------------------------------------------------------------- /CAPerfHUDModule/Resources/AppIcon@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhduytran0/CAPerfHUD/a018a06744d47fb620d5886e8af1b68b422ef8fe/CAPerfHUDModule/Resources/AppIcon@1x.png -------------------------------------------------------------------------------- /CAPerfHUDModule/Resources/AppIcon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhduytran0/CAPerfHUD/a018a06744d47fb620d5886e8af1b68b422ef8fe/CAPerfHUDModule/Resources/AppIcon@2x.png -------------------------------------------------------------------------------- /CAPerfHUDModule/Resources/AppIcon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhduytran0/CAPerfHUD/a018a06744d47fb620d5886e8af1b68b422ef8fe/CAPerfHUDModule/Resources/AppIcon@3x.png -------------------------------------------------------------------------------- /CAPerfHUDModule/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CCSModuleSize 6 | 7 | Landscape 8 | 9 | Height 10 | 1 11 | Width 12 | 1 13 | 14 | Portrait 15 | 16 | Height 17 | 1 18 | Width 19 | 1 20 | 21 | 22 | CFBundleDevelopmentRegion 23 | English 24 | CFBundleExecutable 25 | CAPerfHUDModule 26 | CFBundleIdentifier 27 | com.kdt.caperfhudcc 28 | CFBundleInfoDictionaryVersion 29 | 6.0 30 | CFBundleName 31 | CAPerfHUDModule 32 | CFBundleDisplayName 33 | CAPerfHUD 34 | CFBundlePackageType 35 | BNDL 36 | CFBundleShortVersionString 37 | 1.0 38 | CFBundleSupportedPlatforms 39 | 40 | iPhoneOS 41 | 42 | CFBundleVersion 43 | 1 44 | MinimumOSVersion 45 | 11.0 46 | NSPrincipalClass 47 | CAPHMenuModule 48 | UIDeviceFamily 49 | 50 | 1 51 | 2 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /CAPerfHUDModule/Resources/SettingsIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/khanhduytran0/CAPerfHUD/a018a06744d47fb620d5886e8af1b68b422ef8fe/CAPerfHUDModule/Resources/SettingsIcon.png -------------------------------------------------------------------------------- /CAPerfHUDModule/control: -------------------------------------------------------------------------------- 1 | Package: com.kdt.caperfhudmodule 2 | Name: CAPerfHUDModule 3 | Depends: com.opa334.ccsupport, firmware (>= 13.0) 4 | Version: 1.0.0 5 | Architecture: iphoneos-arm 6 | Description: Enable system-wide performance HUD from the control center. 7 | Maintainer: khanhduytran0 8 | Author: khanhduytran0 9 | Section: Control Center (Modules) 10 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIAppLauncherModule.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import "CCUIContentModule.h" 10 | #import "CCUIContentModuleContentViewController.h" 11 | 12 | @class NSBundle, NSString, CCUIContentModuleContext, NSURL, UIImage, UIViewController; 13 | 14 | @interface CCUIAppLauncherModule : NSObject { 15 | 16 | NSBundle* _bundle; 17 | BOOL _supportsApplicationShortcuts; 18 | NSString* _applicationIdentifier; 19 | NSString* _displayName; 20 | CCUIContentModuleContext* _contentModuleContext; 21 | NSURL* _launchURL; 22 | 23 | } 24 | 25 | @property (nonatomic,copy) NSString * applicationIdentifier; //@synthesize applicationIdentifier=_applicationIdentifier - In the implementation block 26 | @property (nonatomic,copy) NSURL * launchURL; //@synthesize launchURL=_launchURL - In the implementation block 27 | @property (nonatomic,copy) NSString * displayName; //@synthesize displayName=_displayName - In the implementation block 28 | @property (assign,nonatomic) BOOL supportsApplicationShortcuts; //@synthesize supportsApplicationShortcuts=_supportsApplicationShortcuts - In the implementation block 29 | @property (nonatomic,copy,readonly) UIImage * iconGlyph; 30 | @property (nonatomic,retain) CCUIContentModuleContext * contentModuleContext; //@synthesize contentModuleContext=_contentModuleContext - In the implementation block 31 | @property (readonly) NSUInteger hash; 32 | @property (readonly) Class superclass; 33 | @property (copy,readonly) NSString * description; 34 | @property (copy,readonly) NSString * debugDescription; 35 | @property (nonatomic,readonly) UIViewController* contentViewController; 36 | @property (nonatomic,readonly) UIViewController * backgroundViewController; 37 | - (void)setDisplayName:(NSString *)arg1; 38 | - (id)init; 39 | - (UIViewController*)contentViewController; 40 | - (void)setApplicationIdentifier:(NSString *)arg1; 41 | - (NSString *)applicationIdentifier; 42 | - (NSString *)displayName; 43 | - (UIImage *)iconGlyph; 44 | - (id)launchURLForTouchType:(NSInteger)arg1; 45 | - (void)handleTapWithTouchType:(NSInteger)arg1; 46 | - (BOOL)supportsApplicationShortcuts; 47 | - (void)setSupportsApplicationShortcuts:(BOOL)arg1; 48 | - (CCUIContentModuleContext *)contentModuleContext; 49 | - (void)setContentModuleContext:(CCUIContentModuleContext *)arg1; 50 | - (NSURL *)launchURL; 51 | - (void)setLaunchURL:(NSURL *)arg1; 52 | @end 53 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIAppLauncherViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | 11 | @class SBFApplication, SCUIAssetProvider, CCUIAppLauncherModule; 12 | 13 | @interface CCUIAppLauncherViewController : CCUIMenuModuleViewController { 14 | 15 | SBFApplication* _application; 16 | SCUIAssetProvider* _assetProvider; 17 | CCUIAppLauncherModule* _module; 18 | 19 | } 20 | 21 | @property (nonatomic,weak) CCUIAppLauncherModule * module; //@synthesize module=_module - In the implementation block 22 | - (CCUIAppLauncherModule *)module; 23 | - (void)viewDidLoad; 24 | - (BOOL)shouldBeginTransitionToExpandedContentModule; 25 | - (void)buttonTapped:(id)arg1 forEvent:(id)arg2; 26 | - (void)_updateApplicationShortcutsActions; 27 | - (void)_addActionForShortcutItem:(id)arg1; 28 | - (void)_activateApplicationForShortcutItem:(id)arg1; 29 | - (void)setModule:(CCUIAppLauncherModule *)arg1; 30 | @end 31 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIButtonModuleView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | #import 12 | 13 | @class UIView, UIImageView, CCUICAPackageView, UIImage, UIColor, CCUICAPackageDescription, NSString; 14 | 15 | @interface CCUIButtonModuleView : UIControl { 16 | 17 | UIView* _highlightedBackgroundView; 18 | UIImageView* _glyphImageView; 19 | CCUICAPackageView* _glyphPackageView; 20 | UIImage* _glyphImage; 21 | UIColor* _glyphColor; 22 | UIImage* _selectedGlyphImage; 23 | UIColor* _selectedGlyphColor; 24 | CCUICAPackageDescription* _glyphPackageDescription; 25 | NSString* _glyphState; 26 | NSDirectionalEdgeInsets _contentEdgeInsets; 27 | 28 | } 29 | 30 | @property (nonatomic,retain) UIImage * glyphImage; //@synthesize glyphImage=_glyphImage - In the implementation block 31 | @property (nonatomic,retain) UIColor * glyphColor; //@synthesize glyphColor=_glyphColor - In the implementation block 32 | @property (nonatomic,retain) UIImage * selectedGlyphImage; //@synthesize selectedGlyphImage=_selectedGlyphImage - In the implementation block 33 | @property (nonatomic,retain) UIColor * selectedGlyphColor; //@synthesize selectedGlyphColor=_selectedGlyphColor - In the implementation block 34 | @property (nonatomic,retain) CCUICAPackageDescription * glyphPackageDescription; //@synthesize glyphPackageDescription=_glyphPackageDescription - In the implementation block 35 | @property (nonatomic,copy) NSString * glyphState; //@synthesize glyphState=_glyphState - In the implementation block 36 | @property (assign,nonatomic) NSDirectionalEdgeInsets contentEdgeInsets; //@synthesize contentEdgeInsets=_contentEdgeInsets - In the implementation block 37 | @property (readonly) NSUInteger hash; 38 | @property (readonly) Class superclass; 39 | @property (copy,readonly) NSString * description; 40 | @property (copy,readonly) NSString * debugDescription; 41 | - (id)initWithFrame:(CGRect)arg1; 42 | - (void)layoutSubviews; 43 | - (BOOL)gestureRecognizer:(id)arg1 shouldRecognizeSimultaneouslyWithGestureRecognizer:(id)arg2; 44 | - (void)setContentEdgeInsets:(NSDirectionalEdgeInsets)arg1; 45 | - (void)setHighlighted:(BOOL)arg1; 46 | - (void)setEnabled:(BOOL)arg1; 47 | - (void)_handlePressGesture:(id)arg1; 48 | - (void)setSelected:(BOOL)arg1; 49 | - (NSDirectionalEdgeInsets)contentEdgeInsets; 50 | - (UIImage *)glyphImage; 51 | - (void)setGlyphImage:(UIImage *)arg1; 52 | - (void)setSelectedGlyphImage:(UIImage *)arg1; 53 | - (UIImage *)selectedGlyphImage; 54 | - (void)_updateForStateChange; 55 | - (void)setGlyphColor:(UIColor *)arg1; 56 | - (UIColor *)glyphColor; 57 | - (void)setGlyphPackageDescription:(CCUICAPackageDescription *)arg1; 58 | - (void)setGlyphState:(NSString *)arg1; 59 | - (CCUICAPackageDescription *)glyphPackageDescription; 60 | - (NSString *)glyphState; 61 | - (void)setSelectedGlyphColor:(UIColor *)arg1; 62 | - (UIColor *)selectedGlyphColor; 63 | - (void)_setGlyphImage:(id)arg1; 64 | - (void)_setGlyphPackageDescription:(id)arg1; 65 | - (void)_setGlyphState:(id)arg1; 66 | @end 67 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIButtonModuleViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import "CCUIContentModuleContentViewController.h" 11 | 12 | @class CCUIButtonModuleView, UIImage, UIColor, CCUICAPackageDescription, NSString; 13 | 14 | @interface CCUIButtonModuleViewController : UIViewController { 15 | 16 | CCUIButtonModuleView* _buttonModuleView; 17 | BOOL _expanded; 18 | 19 | } 20 | 21 | @property (nonatomic,retain) UIImage * glyphImage; 22 | @property (nonatomic,retain) UIColor * glyphColor; 23 | @property (nonatomic,retain) UIImage * selectedGlyphImage; 24 | @property (nonatomic,retain) UIColor * selectedGlyphColor; 25 | @property (nonatomic,retain) CCUICAPackageDescription * glyphPackageDescription; 26 | @property (nonatomic,copy) NSString * glyphState; 27 | @property (assign,getter=isSelected,nonatomic) BOOL selected; 28 | @property (getter=isExpanded,nonatomic,readonly) BOOL expanded; //@synthesize expanded=_expanded - In the implementation block 29 | @property (nonatomic,readonly) CCUIButtonModuleView * buttonView; 30 | @property (readonly) NSUInteger hash; 31 | @property (readonly) Class superclass; 32 | @property (copy,readonly) NSString * description; 33 | @property (copy,readonly) NSString * debugDescription; 34 | @property (nonatomic,readonly) CGFloat preferredExpandedContentHeight; 35 | @property (nonatomic,readonly) CGFloat preferredExpandedContentWidth; 36 | @property (nonatomic,readonly) BOOL providesOwnPlatter; 37 | - (BOOL)isSelected; 38 | - (void)setSelected:(BOOL)arg1; 39 | - (void)viewDidLoad; 40 | - (BOOL)isExpanded; 41 | - (UIImage *)glyphImage; 42 | - (void)setGlyphImage:(UIImage *)arg1; 43 | - (void)setSelectedGlyphImage:(UIImage *)arg1; 44 | - (UIImage *)selectedGlyphImage; 45 | - (void)setGlyphColor:(UIColor *)arg1; 46 | - (UIColor *)glyphColor; 47 | - (void)setGlyphPackageDescription:(CCUICAPackageDescription *)arg1; 48 | - (void)setGlyphState:(NSString *)arg1; 49 | - (CCUICAPackageDescription *)glyphPackageDescription; 50 | - (NSString *)glyphState; 51 | - (void)setSelectedGlyphColor:(UIColor *)arg1; 52 | - (UIColor *)selectedGlyphColor; 53 | - (void)buttonTapped:(id)arg1 forEvent:(id)arg2; 54 | - (CGFloat)preferredExpandedContentHeight; 55 | - (void)willTransitionToExpandedContentMode:(BOOL)arg1; 56 | - (CCUIButtonModuleView *)buttonView; 57 | @end 58 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUICAPackageDescription.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @class NSURL; 11 | 12 | @interface CCUICAPackageDescription : NSObject { 13 | 14 | BOOL _flipsForRightToLeftLayoutDirection; 15 | NSURL* _packageURL; 16 | 17 | } 18 | 19 | @property (nonatomic,copy,readonly) NSURL * packageURL; //@synthesize packageURL=_packageURL - In the implementation block 20 | @property (assign,nonatomic) BOOL flipsForRightToLeftLayoutDirection; //@synthesize flipsForRightToLeftLayoutDirection=_flipsForRightToLeftLayoutDirection - In the implementation block 21 | + (id)descriptionForPackageNamed:(id)arg1 inBundle:(id)arg2; 22 | - (BOOL)flipsForRightToLeftLayoutDirection; 23 | - (id)initWithPackageName:(id)arg1 inBundle:(id)arg2; 24 | - (void)setFlipsForRightToLeftLayoutDirection:(BOOL)arg1; 25 | - (NSURL *)packageURL; 26 | @end 27 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUICAPackageView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @class CAStateController, CALayer, CAPackage, CCUICAPackageDescription; 13 | 14 | @interface CCUICAPackageView : UIView { 15 | 16 | CAStateController* _stateController; 17 | CALayer* _packageLayer; 18 | CAPackage* _package; 19 | CCUICAPackageDescription* _packageDescription; 20 | 21 | } 22 | 23 | @property (nonatomic,retain) CAPackage * package; //@synthesize package=_package - In the implementation block 24 | @property (nonatomic,retain) CCUICAPackageDescription * packageDescription; //@synthesize packageDescription=_packageDescription - In the implementation block 25 | - (void)setPackage:(CAPackage *)arg1; 26 | - (id)initWithFrame:(CGRect)arg1; 27 | - (void)layoutSubviews; 28 | - (void)setStateName:(id)arg1; 29 | - (void)setPackageDescription:(CCUICAPackageDescription *)arg1; 30 | - (void)_setPackage:(id)arg1; 31 | - (CCUICAPackageDescription *)packageDescription; 32 | - (CAPackage *)package; 33 | @end 34 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIContentClipping.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @protocol CCUIContentClipping 11 | @property (getter=isContentClippingRequired,nonatomic,readonly) BOOL contentClippingRequired; 12 | @required 13 | - (BOOL)isContentClippingRequired; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIContentModule.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | @class UIViewController; 10 | 11 | #import "CCUIContentModuleContentViewController.h" 12 | 13 | @protocol CCUIContentModule 14 | @property (nonatomic,readonly) UIViewController* contentViewController; 15 | @property (nonatomic,readonly) UIViewController * backgroundViewController; 16 | @optional 17 | - (void)setContentModuleContext:(id)arg1; 18 | - (UIViewController *)backgroundViewController; 19 | 20 | @required 21 | - (UIViewController*)contentViewController; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIContentModuleContentViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import "CCUIContentModuleContentViewController.h" 10 | 11 | @protocol CCUIContentModuleContentViewController 12 | @property (nonatomic,readonly) CGFloat preferredExpandedContentHeight; 13 | @property (nonatomic,readonly) CGFloat preferredExpandedContentWidth; 14 | @property (nonatomic,readonly) BOOL providesOwnPlatter; 15 | @optional 16 | - (BOOL)shouldBeginTransitionToExpandedContentModule; 17 | - (void)willResignActive; 18 | - (void)willBecomeActive; 19 | - (void)willTransitionToExpandedContentMode:(BOOL)arg1; 20 | - (BOOL)shouldFinishTransitionToExpandedContentModule; 21 | - (void)didTransitionToExpandedContentMode:(BOOL)arg1; 22 | - (BOOL)canDismissPresentedContent; 23 | - (void)dismissPresentedContentAnimated:(BOOL)arg1 completion:(/*^block*/ id)arg2; 24 | - (CGFloat)preferredExpandedContentWidth; 25 | - (BOOL)providesOwnPlatter; 26 | - (void)controlCenterWillPresent; 27 | - (void)controlCenterDidDismiss; 28 | 29 | @required 30 | - (CGFloat)preferredExpandedContentHeight; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIContentModuleContext.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @protocol CCUIContentModuleContextDelegate; 11 | @class NSString; 12 | 13 | @interface CCUIContentModuleContext : NSObject { 14 | 15 | NSString* _moduleIdentifier; 16 | id _delegate; 17 | 18 | } 19 | 20 | @property (nonatomic,copy,readonly) NSString * moduleIdentifier; //@synthesize moduleIdentifier=_moduleIdentifier - In the implementation block 21 | @property (nonatomic,weak) id delegate; //@synthesize delegate=_delegate - In the implementation block 22 | + (void)initialize; 23 | + (id)_sharedOpenApplicationOptions; 24 | + (id)_sharedOpenAppService; 25 | - (id)delegate; 26 | - (void)setDelegate:(id)arg1; 27 | - (void)openURL:(id)arg1 completionHandler:(/*^block*/ id)arg2; 28 | - (NSString *)moduleIdentifier; 29 | - (void)openApplication:(id)arg1 withOptions:(id)arg2 completionHandler:(/*^block*/ id)arg3; 30 | - (void)requestAuthenticationWithCompletionHandler:(/*^block*/ id)arg1; 31 | - (void)openApplication:(id)arg1 completionHandler:(/*^block*/ id)arg2; 32 | - (void)enqueueStatusUpdate:(id)arg1; 33 | - (void)requestExpandModule; 34 | - (void)dismissModule; 35 | - (id)initWithModuleIdentifier:(id)arg1; 36 | @end 37 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIContentModuleExpandedStateListener.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @protocol CCUIContentModuleExpandedStateListener 11 | @required 12 | - (void)contentModuleWillTransitionToExpandedContentMode:(BOOL)arg1; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIContentModuleTopLevelGestureProvider.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | @class NSArray; 10 | 11 | 12 | @protocol CCUIContentModuleTopLevelGestureProvider 13 | @property (nonatomic,readonly) NSArray * topLevelGestureRecognizers; 14 | @property (nonatomic,readonly) NSArray * topLevelBlockingGestureRecognizers; 15 | @optional 16 | - (NSArray *)topLevelBlockingGestureRecognizers; 17 | - (NSArray *)topLevelGestureRecognizers; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIControlCenterButton.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import "SBFButton.h" 11 | #import "_UISettingsKeyObserver.h" 12 | 13 | @protocol CCUIControlCenterButtonDelegate; 14 | @class UIColor, UIImageView, UILabel, UIView, UIImage, UIFont, NSString; 15 | 16 | @interface CCUIControlCenterButton : SBFButton <_UISettingsKeyObserver> { 17 | 18 | NSUInteger _buttonType; 19 | UIColor* _selectedColor; 20 | UIImageView* _glyphImageView; 21 | UILabel* _label; 22 | UIImageView* _alteredStateGlyphImageView; 23 | UILabel* _alteredStateLabel; 24 | UIView* _backgroundFlatColorView; 25 | BOOL _animatesStateChanges; 26 | BOOL _showingMenu; 27 | id _delegate; 28 | NSUInteger _roundCorners; 29 | UIImage* _glyphImage; 30 | UIImage* _selectedGlyphImage; 31 | CGFloat _naturalHeight; 32 | 33 | } 34 | 35 | @property (nonatomic,retain) UIImage * glyphImage; //@synthesize glyphImage=_glyphImage - In the implementation block 36 | @property (nonatomic,retain) UIImage * selectedGlyphImage; //@synthesize selectedGlyphImage=_selectedGlyphImage - In the implementation block 37 | @property (assign,nonatomic) CGFloat naturalHeight; //@synthesize naturalHeight=_naturalHeight - In the implementation block 38 | @property (nonatomic,weak) id delegate; //@synthesize delegate=_delegate - In the implementation block 39 | @property (assign,nonatomic) BOOL animatesStateChanges; //@synthesize animatesStateChanges=_animatesStateChanges - In the implementation block 40 | @property (getter=isInternal,nonatomic,readonly) BOOL internal; 41 | @property (assign,nonatomic) NSUInteger roundCorners; //@synthesize roundCorners=_roundCorners - In the implementation block 42 | @property (assign,getter=isShowingMenu,nonatomic) BOOL showingMenu; //@synthesize showingMenu=_showingMenu - In the implementation block 43 | @property (nonatomic,retain) UIFont * font; 44 | @property (assign,nonatomic) NSInteger numberOfLines; 45 | @property (nonatomic,retain) NSString * text; 46 | @property (readonly) NSUInteger hash; 47 | @property (readonly) Class superclass; 48 | @property (copy,readonly) NSString * description; 49 | @property (copy,readonly) NSString * debugDescription; 50 | +(id)_buttonWithSelectedColor:(id)arg1 text:(id)arg2 type:(NSUInteger)arg3 ; 51 | +(id)smallCircularButtonWithSelectedColor:(id)arg1 ; 52 | +(id)circularButtonWithSelectedColor:(id)arg1 ; 53 | +(id)roundRectButton; 54 | +(id)roundRectButtonWithText:(id)arg1 ; 55 | +(id)roundRectButtonWithText:(id)arg1 selectedGlyphColor:(id)arg2 ; 56 | +(id)capsuleButtonWithText:(id)arg1 ; 57 | -(id)initWithFrame:(CGRect)arg1 ; 58 | -(void)setFrame:(CGRect)arg1 ; 59 | -(void)setNumberOfLines:(NSInteger)arg1 ; 60 | -(CGFloat)cornerRadius; 61 | -(void)layoutSubviews; 62 | -(id)delegate; 63 | -(void)setDelegate:(id)arg1 ; 64 | -(void)dealloc; 65 | -(void)setBounds:(CGRect)arg1 ; 66 | -(CGSize)sizeThatFits:(CGSize)arg1 ; 67 | -(CGSize)intrinsicContentSize; 68 | -(NSString *)text; 69 | -(void)setText:(NSString *)arg1 ; 70 | -(void)setFont:(UIFont *)arg1 ; 71 | -(void)setBackgroundImage:(id)arg1 forState:(NSUInteger)arg2 ; 72 | -(void)setEnabled:(BOOL)arg1 ; 73 | -(void)_setButtonType:(NSUInteger)arg1 ; 74 | -(BOOL)_shouldAnimatePropertyWithKey:(id)arg1 ; 75 | -(void)didMoveToSuperview; 76 | -(UIFont *)font; 77 | -(NSInteger)numberOfLines; 78 | -(void)settings:(id)arg1 changedValueForKey:(id)arg2 ; 79 | -(void)setImage:(id)arg1 forState:(NSUInteger)arg2 ; 80 | -(void)_updateEffects; 81 | -(UIImage *)glyphImage; 82 | -(void)setGlyphImage:(UIImage *)arg1 ; 83 | -(void)setSelectedGlyphImage:(UIImage *)arg1 ; 84 | -(UIImage *)selectedGlyphImage; 85 | -(BOOL)_drawingAsSelected; 86 | -(CGFloat)naturalHeight; 87 | -(void)_updateForStateChange; 88 | -(NSInteger)_currentState; 89 | -(void)setShowingMenu:(BOOL)arg1 ; 90 | -(BOOL)isShowingMenu; 91 | -(id)initWithFrame:(CGRect)arg1 selectedColor:(id)arg2 text:(id)arg3 type:(NSUInteger)arg4 ; 92 | -(BOOL)_isCircleButton; 93 | -(BOOL)_isRectButton; 94 | -(BOOL)_isCapsuleButton; 95 | -(BOOL)_isTextButton; 96 | -(void)_updateBackgroundForStateChange; 97 | -(void)_pressAction; 98 | -(void)_updateForReduceTransparencyChange; 99 | -(void)_updateForDarkerSystemColorsChange:(id)arg1 ; 100 | -(void)_calculateRectForGlyph:(CGRect*)arg1 rectForLabel:(CGRect*)arg2 ignoringBounds:(BOOL)arg3 ; 101 | -(id)_glyphImageForState:(NSInteger)arg1 ; 102 | -(void)_updateNaturalHeight; 103 | -(void)_updateGlyphAndTextForStateChange; 104 | -(void)setNaturalHeight:(CGFloat)arg1 ; 105 | -(id)_effectiveSelectedColor; 106 | -(NSUInteger)roundCorners; 107 | -(BOOL)animatesStateChanges; 108 | -(id)_controlStateStringFromState:(NSInteger)arg1 ; 109 | -(BOOL)_isRectTextButton; 110 | -(void)setRoundCorners:(NSUInteger)arg1 ; 111 | -(void)setAnimatesStateChanges:(BOOL)arg1 ; 112 | -(id)ccuiPunchOutMaskForView:(id)arg1 ; 113 | -(void)setGlyphImage:(id)arg1 selectedGlyphImage:(id)arg2 name:(id)arg3 ; 114 | -(BOOL)isInternal; 115 | @end 116 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIControlCenterLabel.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @interface CCUIControlCenterLabel : UILabel { 13 | 14 | NSUInteger _style; 15 | 16 | } 17 | 18 | @property (assign,nonatomic) NSUInteger style; //@synthesize style=_style - In the implementation block 19 | - (id)initWithFrame:(CGRect)arg1; 20 | - (NSUInteger)style; 21 | - (void)setHighlighted:(BOOL)arg1; 22 | - (void)setEnabled:(BOOL)arg1; 23 | - (void)setStyle:(NSUInteger)arg1; 24 | - (BOOL)_shouldAnimatePropertyWithKey:(id)arg1; 25 | - (void)_updateEffects; 26 | @end 27 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIControlCenterMaterialView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | 11 | @interface CCUIControlCenterMaterialView : UIView 12 | + (id)_tertiaryMaterialView; 13 | + (id)_lightFillMaterialView; 14 | + (id)_darkMaterialView; 15 | + (id)controlCenterLightFill; 16 | + (id)moduleBackgroundMaterialView; 17 | + (id)primaryMaterialView; 18 | + (id)secondaryMaterialView; 19 | + (id)baseMaterialBlurView; 20 | + (id)controlCenterDarkMaterial; 21 | + (id)controlCenterTertiaryMaterial; 22 | @end 23 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIControlCenterSlider.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @class UIImageView; 13 | 14 | @interface CCUIControlCenterSlider : UISlider { 15 | 16 | UIImageView* _minValueHighlightedImageView; 17 | UIImageView* _maxValueHighlightedImageView; 18 | BOOL _adjusting; 19 | 20 | } 21 | 22 | @property (assign,getter=isAdjusting,nonatomic) BOOL adjusting; //@synthesize adjusting=_adjusting - In the implementation block 23 | + (id)_trackImage; 24 | + (id)_knobImage; 25 | + (UIEdgeInsets)_edgeInsetsForSliderKnob; 26 | + (id)_resizableTrackImage; 27 | - (id)initWithFrame:(CGRect)arg1; 28 | - (void)layoutSubviews; 29 | - (BOOL)pointInside:(CGPoint)arg1 withEvent:(id)arg2; 30 | - (void)cancelTrackingWithEvent:(id)arg1; 31 | - (BOOL)beginTrackingWithTouch:(id)arg1 withEvent:(id)arg2; 32 | - (void)endTrackingWithTouch:(id)arg1 withEvent:(id)arg2; 33 | - (CGRect)trackRectForBounds:(CGRect)arg1; 34 | - (CGRect)thumbRectForBounds:(CGRect)arg1 trackRect:(CGRect)arg2 value:(float)arg3; 35 | - (CGRect)minimumValueImageRectForBounds:(CGRect)arg1; 36 | - (CGRect)maximumValueImageRectForBounds:(CGRect)arg1; 37 | - (UIEdgeInsets)_thumbHitEdgeInsets; 38 | - (void)setMinimumValueImage:(id)arg1; 39 | - (void)setMaximumValueImage:(id)arg1; 40 | - (void)_updateEffects; 41 | - (void)_setTrackImage:(id)arg1; 42 | - (void)setAdjusting:(BOOL)arg1; 43 | - (void)setMinimumValueImage:(id)arg1 cacheKey:(id)arg2; 44 | - (void)setMaximumValueImage:(id)arg1 cacheKey:(id)arg2; 45 | - (CGFloat)leftValueImageOriginForBounds:(CGRect)arg1 andSize:(CGSize)arg2; 46 | - (CGFloat)rightValueImageOriginForBounds:(CGRect)arg1 andSize:(CGSize)arg2; 47 | - (void)_configureHighlightedValueImagesLikeRegularValueImages; 48 | - (BOOL)ccuiSupportsDelayedTouchesByContainingScrollViewForGesture:(id)arg1; 49 | - (BOOL)isAdjusting; 50 | @end 51 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIControlCenterVisualEffect.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @interface CCUIControlCenterVisualEffect : UIVisualEffect { 13 | 14 | NSInteger _style; 15 | 16 | } 17 | + (id)effectWithStyle:(NSInteger)arg1; 18 | + (id)effectWithControlState:(NSUInteger)arg1 inContext:(NSInteger)arg2; 19 | + (id)_glyphOrTextOnPlatterOrBackgroundEffect; 20 | + (id)_primaryHighlightedTextOnPlatterEffect; 21 | + (id)_grayEffect; 22 | + (id)_primaryRegularTextOnPlatterEffect; 23 | + (id)_secondaryHighlightedTextOnPlatterEffect; 24 | + (id)_secondaryRegularTextOnPlatterEffect; 25 | + (id)_blackEffect; 26 | + (id)_whiteEffect; 27 | - (BOOL)isEqual:(id)arg1; 28 | - (NSUInteger)hash; 29 | - (NSInteger)_style; 30 | - (id)copyWithZone:(NSZone*)arg1; 31 | - (id)initWithPrivateStyle:(NSInteger)arg1; 32 | - (id)contentsMultiplyColor; 33 | - (id)effectConfig; 34 | @end 35 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIGroupRendering.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | @class CALayer; 10 | 11 | 12 | @protocol CCUIGroupRendering 13 | @property (getter=isGroupRenderingRequired,nonatomic,readonly) BOOL groupRenderingRequired; 14 | @property (nonatomic,readonly) CALayer * punchOutRootLayer; 15 | @required 16 | - (BOOL)isGroupRenderingRequired; 17 | - (CALayer *)punchOutRootLayer; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUILabeledRoundButton.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @class NSString, UIImage, CCUICAPackageDescription, CCUIRoundButton, UIColor, UILabel; 13 | 14 | @interface CCUILabeledRoundButton : UIView { 15 | 16 | BOOL _labelsVisible; 17 | NSString* _title; 18 | NSString* _subtitle; 19 | UIImage* _glyphImage; 20 | CCUICAPackageDescription* _glyphPackageDescription; 21 | NSString* _glyphState; 22 | CCUIRoundButton* _buttonView; 23 | UIColor* _highlightColor; 24 | UILabel* _titleLabel; 25 | UILabel* _subtitleLabel; 26 | 27 | } 28 | 29 | @property (nonatomic,retain) UIColor * highlightColor; //@synthesize highlightColor=_highlightColor - In the implementation block 30 | @property (nonatomic,retain) CCUIRoundButton * buttonView; //@synthesize buttonView=_buttonView - In the implementation block 31 | @property (nonatomic,retain) UILabel * titleLabel; //@synthesize titleLabel=_titleLabel - In the implementation block 32 | @property (nonatomic,retain) UILabel * subtitleLabel; //@synthesize subtitleLabel=_subtitleLabel - In the implementation block 33 | @property (nonatomic,retain) UIImage * glyphImage; //@synthesize glyphImage=_glyphImage - In the implementation block 34 | @property (nonatomic,retain) CCUICAPackageDescription * glyphPackageDescription; //@synthesize glyphPackageDescription=_glyphPackageDescription - In the implementation block 35 | @property (nonatomic,copy) NSString * glyphState; //@synthesize glyphState=_glyphState - In the implementation block 36 | @property (nonatomic,copy) NSString * title; //@synthesize title=_title - In the implementation block 37 | @property (nonatomic,copy) NSString * subtitle; //@synthesize subtitle=_subtitle - In the implementation block 38 | @property (assign,nonatomic) BOOL labelsVisible; //@synthesize labelsVisible=_labelsVisible - In the implementation block 39 | - (void)layoutSubviews; 40 | - (void)dealloc; 41 | - (void)setTitle:(NSString *)arg1; 42 | - (CGSize)sizeThatFits:(CGSize)arg1; 43 | - (CGSize)intrinsicContentSize; 44 | - (NSString *)title; 45 | - (UILabel *)titleLabel; 46 | - (void)setSubtitle:(NSString *)arg1; 47 | - (NSString *)subtitle; 48 | - (UIColor *)highlightColor; 49 | - (void)setHighlightColor:(UIColor *)arg1; 50 | - (void)setTitleLabel:(UILabel *)arg1; 51 | - (void)_layoutLabels; 52 | - (void)buttonTapped:(id)arg1; 53 | - (void)setButtonView:(CCUIRoundButton *)arg1; 54 | - (UIImage *)glyphImage; 55 | - (void)setGlyphImage:(UIImage *)arg1; 56 | - (void)_contentSizeCategoryDidChange; 57 | - (UILabel *)subtitleLabel; 58 | - (void)setSubtitleLabel:(UILabel *)arg1; 59 | - (id)initWithGlyphImage:(id)arg1 highlightColor:(id)arg2 useLightStyle:(BOOL)arg3; 60 | - (id)initWithGlyphPackageDescription:(id)arg1 highlightColor:(id)arg2 useLightStyle:(BOOL)arg3; 61 | - (void)setGlyphPackageDescription:(CCUICAPackageDescription *)arg1; 62 | - (void)setGlyphState:(NSString *)arg1; 63 | - (void)setLabelsVisible:(BOOL)arg1; 64 | - (id)initWithGlyphImage:(id)arg1 highlightColor:(id)arg2; 65 | - (id)initWithGlyphPackageDescription:(id)arg1 highlightColor:(id)arg2; 66 | - (CCUICAPackageDescription *)glyphPackageDescription; 67 | - (NSString *)glyphState; 68 | - (BOOL)labelsVisible; 69 | - (id)initWithHighlightColor:(id)arg1 useLightStyle:(BOOL)arg2; 70 | - (void)_setupLabelsBounds; 71 | - (BOOL)_shouldUseLargeTextLayout; 72 | - (CCUIRoundButton *)buttonView; 73 | @end 74 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUILabeledRoundButtonViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | 11 | @class NSString, CCUICAPackageDescription, UIImage, UIColor, CCUILabeledRoundButton, UIControl; 12 | 13 | @interface CCUILabeledRoundButtonViewController : UIViewController { 14 | 15 | BOOL _labelsVisible; 16 | BOOL _toggleStateOnTap; 17 | BOOL _enabled; 18 | BOOL _inoperative; 19 | BOOL _useLightStyle; 20 | NSString* _subtitle; 21 | CCUICAPackageDescription* _glyphPackageDescription; 22 | NSString* _glyphState; 23 | UIImage* _glyphImage; 24 | UIColor* _highlightColor; 25 | CCUILabeledRoundButton* _buttonContainer; 26 | UIControl* _button; 27 | 28 | } 29 | 30 | @property (nonatomic,retain) UIColor * highlightColor; //@synthesize highlightColor=_highlightColor - In the implementation block 31 | @property (assign,nonatomic) BOOL useLightStyle; //@synthesize useLightStyle=_useLightStyle - In the implementation block 32 | @property (nonatomic,retain) CCUILabeledRoundButton * buttonContainer; //@synthesize buttonContainer=_buttonContainer - In the implementation block 33 | @property (nonatomic,retain) UIControl * button; //@synthesize button=_button - In the implementation block 34 | @property (nonatomic,retain) CCUICAPackageDescription * glyphPackageDescription; //@synthesize glyphPackageDescription=_glyphPackageDescription - In the implementation block 35 | @property (nonatomic,copy) NSString * glyphState; //@synthesize glyphState=_glyphState - In the implementation block 36 | @property (nonatomic,retain) UIImage * glyphImage; //@synthesize glyphImage=_glyphImage - In the implementation block 37 | @property (nonatomic,copy) NSString * title; 38 | @property (nonatomic,copy) NSString * subtitle; //@synthesize subtitle=_subtitle - In the implementation block 39 | @property (assign,nonatomic) BOOL labelsVisible; //@synthesize labelsVisible=_labelsVisible - In the implementation block 40 | @property (assign,nonatomic) BOOL toggleStateOnTap; //@synthesize toggleStateOnTap=_toggleStateOnTap - In the implementation block 41 | @property (assign,getter=isEnabled,nonatomic) BOOL enabled; //@synthesize enabled=_enabled - In the implementation block 42 | @property (assign,getter=isInoperative,nonatomic) BOOL inoperative; //@synthesize inoperative=_inoperative - In the implementation block 43 | - (UIControl *)button; 44 | - (void)setTitle:(NSString *)arg1; 45 | - (void)loadView; 46 | - (BOOL)isEnabled; 47 | - (void)setEnabled:(BOOL)arg1; 48 | - (void)setSubtitle:(NSString *)arg1; 49 | - (NSString *)subtitle; 50 | - (UIColor *)highlightColor; 51 | - (void)setHighlightColor:(UIColor *)arg1; 52 | - (void)setButton:(UIControl *)arg1; 53 | - (void)buttonTapped:(id)arg1; 54 | - (UIImage *)glyphImage; 55 | - (void)setGlyphImage:(UIImage *)arg1; 56 | - (CCUILabeledRoundButton *)buttonContainer; 57 | - (void)setButtonContainer:(CCUILabeledRoundButton *)arg1; 58 | - (id)initWithGlyphImage:(id)arg1 highlightColor:(id)arg2 useLightStyle:(BOOL)arg3; 59 | - (id)initWithGlyphPackageDescription:(id)arg1 highlightColor:(id)arg2 useLightStyle:(BOOL)arg3; 60 | - (void)setGlyphPackageDescription:(CCUICAPackageDescription *)arg1; 61 | - (void)setGlyphState:(NSString *)arg1; 62 | - (void)setLabelsVisible:(BOOL)arg1; 63 | - (id)initWithGlyphImage:(id)arg1 highlightColor:(id)arg2; 64 | - (id)initWithGlyphPackageDescription:(id)arg1 highlightColor:(id)arg2; 65 | - (void)setInoperative:(BOOL)arg1; 66 | - (CCUICAPackageDescription *)glyphPackageDescription; 67 | - (NSString *)glyphState; 68 | - (BOOL)labelsVisible; 69 | - (BOOL)toggleStateOnTap; 70 | - (void)setToggleStateOnTap:(BOOL)arg1; 71 | - (BOOL)isInoperative; 72 | - (BOOL)useLightStyle; 73 | - (void)setUseLightStyle:(BOOL)arg1; 74 | @end 75 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIMenuModuleAnimationController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | @class NSString; 10 | 11 | @interface CCUIMenuModuleAnimationController : NSObject { 12 | 13 | BOOL _presenting; 14 | 15 | } 16 | 17 | @property (readonly) NSUInteger hash; 18 | @property (readonly) Class superclass; 19 | @property (copy,readonly) NSString * description; 20 | @property (copy,readonly) NSString * debugDescription; 21 | - (CGFloat)transitionDuration:(id)arg1; 22 | - (void)animateTransition:(id)arg1; 23 | - (id)initForPresenting:(BOOL)arg1; 24 | @end 25 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIMenuModuleItem.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, November 15, 2023 at 5:46:46 PM Eastern European Standard Time 4 | * Operating System: Version 17.1 (Build 21B74) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @class NSString; 11 | 12 | @interface CCUIMenuModuleItem : NSObject { 13 | 14 | BOOL _busy; 15 | BOOL _selected; 16 | BOOL _placeholder; 17 | NSString* _identifier; 18 | NSString* _title; 19 | NSString* _subtitle; 20 | /*^block*/id _handler; 21 | 22 | } 23 | 24 | @property (nonatomic,copy) NSString * identifier; //@synthesize identifier=_identifier - In the implementation block 25 | @property (nonatomic,copy) NSString * title; //@synthesize title=_title - In the implementation block 26 | @property (nonatomic,copy) id handler; //@synthesize handler=_handler - In the implementation block 27 | @property (assign,getter=isPlaceholder,nonatomic) BOOL placeholder; //@synthesize placeholder=_placeholder - In the implementation block 28 | @property (nonatomic,copy) NSString * subtitle; //@synthesize subtitle=_subtitle - In the implementation block 29 | @property (assign,getter=isBusy,nonatomic) BOOL busy; //@synthesize busy=_busy - In the implementation block 30 | @property (assign,getter=isSelected,nonatomic) BOOL selected; //@synthesize selected=_selected - In the implementation block 31 | -(BOOL)isBusy; 32 | -(BOOL)isSelected; 33 | -(void)setSubtitle:(NSString *)arg1 ; 34 | -(void)setHandler:(id)arg1 ; 35 | -(BOOL)isPlaceholder; 36 | -(BOOL)performAction; 37 | -(NSString *)subtitle; 38 | -(BOOL)isEqual:(id)arg1 ; 39 | -(NSString *)title; 40 | -(void)setPlaceholder:(BOOL)arg1 ; 41 | -(NSString *)identifier; 42 | -(void)setSelected:(BOOL)arg1 ; 43 | -(unsigned long long)hash; 44 | -(id)description; 45 | -(void)setTitle:(NSString *)arg1 ; 46 | -(id)handler; 47 | -(void)setIdentifier:(NSString *)arg1 ; 48 | -(void)setBusy:(BOOL)arg1 ; 49 | -(id)initWithTitle:(id)arg1 identifier:(id)arg2 handler:(/*^block*/id)arg3 ; 50 | @end 51 | 52 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIMenuModuleItemView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | #import 12 | 13 | @class UILabel, UIImage, UIView, UIImageView; 14 | 15 | @interface CCUIMenuModuleItemView : UIControl { 16 | 17 | UILabel* _titleLabel; 18 | UILabel* _subtitleLabel; 19 | UIImage* _glyphImage; 20 | UIView* _separatorView; 21 | UIImageView* _glyphImageView; 22 | UIView* _highlightedBackgroundView; 23 | BOOL _separatorVisible; 24 | BOOL _useTallLayout; 25 | /*^block*/ id _handler; 26 | CGFloat _preferredMaxLayoutWidth; 27 | CCUIMenuModuleItemView* _menuItem; 28 | UIView* _leadingView; 29 | UIView* _trailingView; 30 | 31 | } 32 | 33 | @property (nonatomic) UIView *leadingView; 34 | @property (nonatomic) UIView *trailingView; 35 | @property (nonatomic) CCUIMenuModuleItemView *menuItem; 36 | @property (nonatomic,copy,readonly) id handler; //@synthesize handler=_handler - In the implementation block 37 | @property (assign,nonatomic) BOOL separatorVisible; //@synthesize separatorVisible=_separatorVisible - In the implementation block 38 | @property (assign,nonatomic) CGFloat preferredMaxLayoutWidth; //@synthesize preferredMaxLayoutWidth=_preferredMaxLayoutWidth - In the implementation block 39 | @property (assign,nonatomic) BOOL useTallLayout; //@synthesize useTallLayout=_useTallLayout - In the implementation block 40 | - (void)layoutSubviews; 41 | - (CGSize)sizeThatFits:(CGSize)arg1; 42 | - (CGSize)intrinsicContentSize; 43 | - (void)setHighlighted:(BOOL)arg1; 44 | - (void)setEnabled:(BOOL)arg1; 45 | - (void)_setContinuousCornerRadius:(CGFloat)arg1; 46 | - (void)setSelected:(BOOL)arg1; 47 | - (void)setPreferredMaxLayoutWidth:(CGFloat)arg1; 48 | - (CGFloat)preferredMaxLayoutWidth; 49 | - (id)handler; 50 | - (void)_updateForStateChange; 51 | - (id)initWithTitle:(id)arg1 subtitle:(id)arg2 glyphImage:(id)arg3 handler:(/*^block*/ id)arg4; 52 | - (void)setUseTallLayout:(BOOL)arg1; 53 | - (BOOL)useTallLayout; 54 | - (CGFloat)_titleBaselineToTop; 55 | - (CGFloat)_titleBaselineToBottom; 56 | - (BOOL)_shouldCenterText; 57 | - (CGFloat)_glyphMargin; 58 | - (BOOL)separatorVisible; 59 | - (id)initWithTitle:(id)arg1 glyphImage:(id)arg2 handler:(/*^block*/ id)arg3; 60 | - (void)setSeparatorVisible:(BOOL)arg1; 61 | - (UIEdgeInsets)_labelInsets; 62 | @end 63 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIMenuModulePresentationController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | 11 | @class NSString; 12 | 13 | @interface CCUIMenuModulePresentationController : UIPresentationController 14 | 15 | @property (readonly) NSUInteger hash; 16 | @property (readonly) Class superclass; 17 | @property (copy,readonly) NSString * description; 18 | @property (copy,readonly) NSString * debugDescription; 19 | - (BOOL)gestureRecognizer:(id)arg1 shouldReceiveTouch:(id)arg2; 20 | - (BOOL)shouldPresentInFullscreen; 21 | - (BOOL)_shouldRespectDefinesPresentationContext; 22 | - (void)dismissalTransitionDidEnd:(BOOL)arg1; 23 | - (void)presentationTransitionWillBegin; 24 | - (id)_menuModuleViewController; 25 | - (void)_handleBackgroundTap:(id)arg1; 26 | @end 27 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIMenuModuleTransitioningDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | @class NSString; 10 | 11 | @interface CCUIMenuModuleTransitioningDelegate : NSObject 12 | 13 | @property (readonly) NSUInteger hash; 14 | @property (readonly) Class superclass; 15 | @property (copy,readonly) NSString * description; 16 | @property (copy,readonly) NSString * debugDescription; 17 | - (id)presentationControllerForPresentedViewController:(id)arg1 presentingViewController:(id)arg2 sourceViewController:(id)arg3; 18 | - (id)animationControllerForPresentedController:(id)arg1 presentingController:(id)arg2 sourceController:(id)arg3; 19 | - (id)animationControllerForDismissedController:(id)arg1; 20 | @end 21 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIMenuModuleViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | #import "CCUIContentModuleContentViewController.h" 12 | 13 | @class UILabel, UIView, MTMaterialView, UIStackView, NSMutableArray, UIScrollView, UILongPressGestureRecognizer, UISelectionFeedbackGenerator, CCUIMenuModuleItemView, CCUIContentModuleContext, NSString; 14 | 15 | @interface CCUIMenuModuleViewController : CCUIButtonModuleViewController { 16 | 17 | UILabel* _titleLabel; 18 | UIView* _headerSeparatorView; 19 | MTMaterialView* _platterMaterialView; 20 | UIStackView* _menuItemsContainer; 21 | NSMutableArray* _menuItemsViews; 22 | UIScrollView* _contentScrollView; 23 | UIView* _darkeningBackgroundView; 24 | UILongPressGestureRecognizer* _pressGestureRecognizer; 25 | UISelectionFeedbackGenerator* _feedbackGenerator; 26 | BOOL _ignoreMenuItemAtTouchLocationAfterExpanded; 27 | CCUIMenuModuleItemView* _menuItemToIgnore; 28 | BOOL _shouldProvideOwnPlatter; 29 | BOOL _useTallLayout; 30 | UIView* _contentView; 31 | CCUIContentModuleContext* _contentModuleContext; 32 | 33 | } 34 | 35 | @property (nonatomic) NSMutableArray *menuItems; 36 | @property (assign,nonatomic) NSUInteger indentation; 37 | 38 | @property (nonatomic,copy) NSString * title; 39 | @property (nonatomic,readonly) NSUInteger actionsCount; 40 | @property (nonatomic,readonly) CGFloat headerHeight; 41 | @property (nonatomic,readonly) UIView * contentView; //@synthesize contentView=_contentView - In the implementation block 42 | @property (assign,nonatomic) BOOL shouldProvideOwnPlatter; //@synthesize shouldProvideOwnPlatter=_shouldProvideOwnPlatter - In the implementation block 43 | @property (assign,nonatomic) BOOL useTallLayout; //@synthesize useTallLayout=_useTallLayout - In the implementation block 44 | @property (nonatomic,weak) CCUIContentModuleContext * contentModuleContext; //@synthesize contentModuleContext=_contentModuleContext - In the implementation block 45 | @property (readonly) NSUInteger hash; 46 | @property (readonly) Class superclass; 47 | @property (copy,readonly) NSString * description; 48 | @property (copy,readonly) NSString * debugDescription; 49 | @property (nonatomic,readonly) CGFloat preferredExpandedContentHeight; 50 | @property (nonatomic,readonly) CGFloat preferredExpandedContentWidth; 51 | @property (nonatomic,readonly) BOOL providesOwnPlatter; 52 | @property (assign,nonatomic) BOOL useTrailingCheckmarkLayout; 53 | - (NSUInteger)actionsCount; 54 | - (UIView *)contentView; 55 | - (void)dealloc; 56 | - (void)setTitle:(NSString *)arg1; 57 | - (BOOL)gestureRecognizer:(id)arg1 shouldRecognizeSimultaneouslyWithGestureRecognizer:(id)arg2; 58 | - (id)initWithNibName:(id)arg1 bundle:(id)arg2; 59 | - (void)viewWillLayoutSubviews; 60 | - (void)_handlePressGesture:(id)arg1; 61 | - (void)viewWillTransitionToSize:(CGSize)arg1 withTransitionCoordinator:(id)arg2; 62 | - (void)viewDidLoad; 63 | - (void)removeAllActions; 64 | - (CGFloat)_separatorHeight; 65 | - (CGFloat)headerHeight; 66 | - (id)_titleFont; 67 | - (void)_contentSizeCategoryDidChange; 68 | - (BOOL)shouldBeginTransitionToExpandedContentModule; 69 | - (void)addActionWithTitle:(id)arg1 subtitle:(id)arg2 glyph:(id)arg3 handler:(/*^block*/ id)arg4; 70 | - (CGFloat)headerHeightForWidth:(CGFloat)arg1; 71 | - (void)_fadeViewsForExpandedState:(BOOL)arg1; 72 | - (void)_setupContentViewBounds; 73 | - (void)_setupMenuItems; 74 | - (void)_layoutViewSubviews; 75 | - (void)_layoutGlyphViewForSize:(CGSize)arg1; 76 | - (void)_layoutTitleLabelForSize:(CGSize)arg1; 77 | - (void)_layoutSeparatorForSize:(CGSize)arg1; 78 | - (CGFloat)preferredExpandedContentHeightWithWidth:(CGFloat)arg1; 79 | - (CGFloat)_maximumHeight; 80 | - (CGFloat)_desiredExpandedHeight; 81 | - (CGFloat)_menuItemsHeightForWidth:(CGFloat)arg1; 82 | - (CGFloat)_contentScaleForSize:(CGSize)arg1; 83 | - (CGAffineTransform)_contentTransformForScale:(CGFloat)arg1; 84 | - (void)setUseTallLayout:(BOOL)arg1; 85 | - (void)_handleActionTapped:(id)arg1; 86 | - (BOOL)shouldProvideOwnPlatter; 87 | - (void)setShouldProvideOwnPlatter:(BOOL)arg1; 88 | - (BOOL)useTallLayout; 89 | - (CGFloat)preferredExpandedContentHeight; 90 | - (void)addActionWithTitle:(id)arg1 glyph:(id)arg2 handler:(/*^block*/ id)arg3; 91 | - (void)willTransitionToExpandedContentMode:(BOOL)arg1; 92 | - (CGFloat)preferredExpandedContentWidth; 93 | - (CCUIContentModuleContext *)contentModuleContext; 94 | - (void)setContentModuleContext:(CCUIContentModuleContext *)arg1; 95 | - (void)_layoutMenuItemsForSize:(CGSize)arg1; 96 | - (void)_setupTitleLabel; 97 | - (void)contentModuleWillTransitionToExpandedContentMode:(BOOL)arg1; 98 | - (void)_updateScrollViewContentSize; 99 | - (void)setFooterButtonTitle:(id)arg1 handler:(/*^block*/id)arg2 ; 100 | - (void)removeFooterButton; 101 | - (void)_updateLeadingAndTrailingViews; 102 | @end 103 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIModuleSliderView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | #import 12 | #import "CCUIContentModuleTopLevelGestureProvider.h" 13 | #import "CCUIContentModuleExpandedStateListener.h" 14 | #import "CCUIContentClipping.h" 15 | #import "CCUIGroupRendering.h" 16 | 17 | @class NSArray, CALayer, UIImageView, CCUICAPackageView, NSTimer, UILongPressGestureRecognizer, UISelectionFeedbackGenerator, _UIEdgeFeedbackGenerator, UIImage, CCUICAPackageDescription, NSString; 18 | 19 | @interface CCUIModuleSliderView : UIControl { 20 | 21 | UIImageView* _glyphImageView; 22 | CCUICAPackageView* _glyphPackageView; 23 | CCUICAPackageView* _compensatingGlyphPackageView; 24 | NSArray* _stepBackgroundViews; 25 | NSArray* _separatorViews; 26 | CGFloat _startingHeight; 27 | CGPoint _startingLocation; 28 | float _startingValue; 29 | NSTimer* _updatesCommitTimer; 30 | float _previousValue; 31 | UILongPressGestureRecognizer* _valueChangeGestureRecognizer; 32 | UISelectionFeedbackGenerator* _selectionFeedbackGenerator; 33 | _UIEdgeFeedbackGenerator* _edgeFeedbackGenerator; 34 | BOOL _glyphVisible; 35 | BOOL _throttleUpdates; 36 | BOOL _firstStepIsDisabled; 37 | BOOL _firstStepIsOff; 38 | BOOL _interactiveWhenUnexpanded; 39 | float _value; 40 | UIImage* _glyphImage; 41 | CCUICAPackageDescription* _glyphPackageDescription; 42 | NSString* _glyphState; 43 | NSUInteger _numberOfSteps; 44 | NSUInteger _step; 45 | 46 | } 47 | 48 | @property (assign,getter=isInteractiveWhenUnexpanded,nonatomic) BOOL interactiveWhenUnexpanded; //@synthesize interactiveWhenUnexpanded=_interactiveWhenUnexpanded - In the implementation block 49 | @property (nonatomic,retain) UIImage * glyphImage; //@synthesize glyphImage=_glyphImage - In the implementation block 50 | @property (nonatomic,retain) CCUICAPackageDescription * glyphPackageDescription; //@synthesize glyphPackageDescription=_glyphPackageDescription - In the implementation block 51 | @property (nonatomic,retain) NSString * glyphState; //@synthesize glyphState=_glyphState - In the implementation block 52 | @property (assign,getter=isGlyphVisible,nonatomic) BOOL glyphVisible; //@synthesize glyphVisible=_glyphVisible - In the implementation block 53 | @property (assign,nonatomic) BOOL throttleUpdates; //@synthesize throttleUpdates=_throttleUpdates - In the implementation block 54 | @property (assign,nonatomic) float value; //@synthesize value=_value - In the implementation block 55 | @property (assign,nonatomic) NSUInteger numberOfSteps; //@synthesize numberOfSteps=_numberOfSteps - In the implementation block 56 | @property (assign,nonatomic) BOOL firstStepIsDisabled; //@synthesize firstStepIsDisabled=_firstStepIsDisabled - In the implementation block 57 | @property (assign,nonatomic) BOOL firstStepIsOff; //@synthesize firstStepIsOff=_firstStepIsOff - In the implementation block 58 | @property (assign,nonatomic) NSUInteger step; //@synthesize step=_step - In the implementation block 59 | @property (getter=isStepped,nonatomic,readonly) BOOL stepped; 60 | @property (readonly) NSUInteger hash; 61 | @property (readonly) Class superclass; 62 | @property (copy,readonly) NSString * description; 63 | @property (copy,readonly) NSString * debugDescription; 64 | @property (nonatomic,readonly) NSArray * topLevelGestureRecognizers; 65 | @property (nonatomic,readonly) NSArray * topLevelBlockingGestureRecognizers; 66 | @property (getter=isContentClippingRequired,nonatomic,readonly) BOOL contentClippingRequired; 67 | @property (getter=isGroupRenderingRequired,nonatomic,readonly) BOOL groupRenderingRequired; 68 | @property (nonatomic,readonly) CALayer * punchOutRootLayer; 69 | - (NSUInteger)step; 70 | - (void)setStep:(NSUInteger)arg1; 71 | - (id)initWithFrame:(CGRect)arg1; 72 | - (void)layoutSubviews; 73 | - (BOOL)gestureRecognizer:(id)arg1 shouldRecognizeSimultaneouslyWithGestureRecognizer:(id)arg2; 74 | - (void)setValue:(float)arg1; 75 | - (float)value; 76 | - (UIImage *)glyphImage; 77 | - (void)setGlyphImage:(UIImage *)arg1; 78 | - (void)setGlyphPackageDescription:(CCUICAPackageDescription *)arg1; 79 | - (void)setGlyphState:(NSString *)arg1; 80 | - (CCUICAPackageDescription *)glyphPackageDescription; 81 | - (NSString *)glyphState; 82 | - (void)_createStepViewsForNumberOfSteps:(NSUInteger)arg1; 83 | - (void)_handleValueChangeGestureRecognizer:(id)arg1; 84 | - (BOOL)isStepped; 85 | - (NSUInteger)_stepFromValue:(float)arg1; 86 | - (float)_valueFromStep:(NSUInteger)arg1; 87 | - (void)_createSeparatorViewsForNumberOfSteps:(NSUInteger)arg1; 88 | - (id)_newGlyphPackageView; 89 | - (void)_configureGlyphPackageView:(id)arg1; 90 | - (void)_configureCompensatingGlyphPackageView:(id)arg1; 91 | - (void)_layoutValueViews; 92 | - (BOOL)isInteractiveWhenUnexpanded; 93 | - (void)_layoutValueViewsForStepChange:(BOOL)arg1; 94 | - (void)_layoutContinuousValueView; 95 | - (CGFloat)_fullStepHeight; 96 | - (BOOL)firstStepIsOff; 97 | - (CGFloat)_heightForStep:(NSUInteger)arg1; 98 | - (void)_layoutContinuousValueViewForValue:(float)arg1; 99 | - (CGFloat)_sliderHeightForValue:(float)arg1; 100 | - (id)_continuousValueView; 101 | - (id)_createBackgroundViewForStep:(NSUInteger)arg1; 102 | - (id)_createSeparatorView; 103 | - (CGFloat)_sliderHeight; 104 | - (BOOL)firstStepIsDisabled; 105 | - (float)_valueForTouchLocation:(CGPoint)arg1 withAbsoluteReference:(BOOL)arg2; 106 | - (void)_updateStepFromValue:(float)arg1 playHaptic:(BOOL)arg2; 107 | - (void)_layoutValueViewsForStepChange; 108 | - (void)_beginTrackingWithGestureRecognizer:(id)arg1; 109 | - (void)_continueTrackingWithGestureRecognizer:(id)arg1; 110 | - (void)_endTrackingWithGestureRecognizer:(id)arg1; 111 | - (void)_updateValueForTouchLocation:(CGPoint)arg1 withAbsoluteReference:(BOOL)arg2 forContinuedGesture:(BOOL)arg3; 112 | - (void)setFirstStepIsDisabled:(BOOL)arg1; 113 | - (void)setFirstStepIsOff:(BOOL)arg1; 114 | - (BOOL)isGlyphVisible; 115 | - (void)setGlyphVisible:(BOOL)arg1; 116 | - (BOOL)throttleUpdates; 117 | - (void)setThrottleUpdates:(BOOL)arg1; 118 | - (void)setInteractiveWhenUnexpanded:(BOOL)arg1; 119 | - (void)setNumberOfSteps:(NSUInteger)arg1; 120 | - (NSUInteger)numberOfSteps; 121 | - (NSArray *)topLevelBlockingGestureRecognizers; 122 | - (BOOL)isContentClippingRequired; 123 | - (BOOL)isGroupRenderingRequired; 124 | - (CALayer *)punchOutRootLayer; 125 | - (NSArray *)topLevelGestureRecognizers; 126 | - (void)contentModuleWillTransitionToExpandedContentMode:(BOOL)arg1; 127 | @end 128 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIPunchOutMask.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | #import 11 | @interface CCUIPunchOutMask : NSObject { 12 | 13 | NSInteger _style; 14 | CGFloat _cornerRadius; 15 | NSUInteger _roundedCorners; 16 | CGRect _frame; 17 | 18 | } 19 | 20 | @property (nonatomic,readonly) CGRect frame; //@synthesize frame=_frame - In the implementation block 21 | @property (nonatomic,readonly) NSInteger style; //@synthesize style=_style - In the implementation block 22 | @property (nonatomic,readonly) CGFloat cornerRadius; //@synthesize cornerRadius=_cornerRadius - In the implementation block 23 | @property (nonatomic,readonly) NSUInteger roundedCorners; //@synthesize roundedCorners=_roundedCorners - In the implementation block 24 | - (CGRect)frame; 25 | - (CGFloat)cornerRadius; 26 | - (BOOL)isEqual:(id)arg1; 27 | - (NSUInteger)hash; 28 | - (id)description; 29 | - (NSInteger)style; 30 | - (NSUInteger)roundedCorners; 31 | - (id)textualRepresentation; 32 | - (id)initWithFrame:(CGRect)arg1 style:(NSInteger)arg2 radius:(CGFloat)arg3 roundedCorners:(NSUInteger)arg4; 33 | @end 34 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIRoundButton.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import 11 | 12 | @class CCUICAPackageDescription, UIImage, NSString, UIColor, UIView, UIImageView, CCUICAPackageView; 13 | 14 | @interface CCUIRoundButton : UIControl { 15 | 16 | CCUICAPackageDescription* _glyphPackageDescription; 17 | UIImage* _glyphImage; 18 | NSString* _glyphState; 19 | UIColor* _highlightColor; 20 | UIView* _normalStateBackgroundView; 21 | UIView* _selectedStateBackgroundView; 22 | UIImageView* _glyphImageView; 23 | UIImageView* _selectedGlyphView; 24 | CCUICAPackageView* _glyphPackageView; 25 | 26 | } 27 | 28 | @property (nonatomic,retain) UIColor * highlightColor; //@synthesize highlightColor=_highlightColor - In the implementation block 29 | @property (nonatomic,retain) UIView * normalStateBackgroundView; //@synthesize normalStateBackgroundView=_normalStateBackgroundView - In the implementation block 30 | @property (nonatomic,retain) UIView * selectedStateBackgroundView; //@synthesize selectedStateBackgroundView=_selectedStateBackgroundView - In the implementation block 31 | @property (nonatomic,retain) UIImageView * glyphImageView; //@synthesize glyphImageView=_glyphImageView - In the implementation block 32 | @property (nonatomic,retain) UIImageView * selectedGlyphView; //@synthesize selectedGlyphView=_selectedGlyphView - In the implementation block 33 | @property (nonatomic,retain) CCUICAPackageView * glyphPackageView; //@synthesize glyphPackageView=_glyphPackageView - In the implementation block 34 | @property (nonatomic,retain) CCUICAPackageDescription * glyphPackageDescription; //@synthesize glyphPackageDescription=_glyphPackageDescription - In the implementation block 35 | @property (nonatomic,retain) UIImage * glyphImage; //@synthesize glyphImage=_glyphImage - In the implementation block 36 | @property (nonatomic,copy) NSString * glyphState; //@synthesize glyphState=_glyphState - In the implementation block 37 | @property (readonly) NSUInteger hash; 38 | @property (readonly) Class superclass; 39 | @property (copy,readonly) NSString * description; 40 | @property (copy,readonly) NSString * debugDescription; 41 | - (void)layoutSubviews; 42 | - (void)dealloc; 43 | - (CGSize)sizeThatFits:(CGSize)arg1; 44 | - (BOOL)gestureRecognizerShouldBegin:(id)arg1; 45 | - (BOOL)gestureRecognizer:(id)arg1 shouldRecognizeSimultaneouslyWithGestureRecognizer:(id)arg2; 46 | - (CGSize)intrinsicContentSize; 47 | - (CGFloat)_cornerRadius; 48 | - (void)_setCornerRadius:(CGFloat)arg1; 49 | - (void)_handlePressGesture:(id)arg1; 50 | - (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void*)arg4; 51 | - (UIColor *)highlightColor; 52 | - (void)setHighlightColor:(UIColor *)arg1; 53 | - (UIImage *)glyphImage; 54 | - (void)setGlyphImage:(UIImage *)arg1; 55 | - (void)_updateForStateChange; 56 | - (void)setGlyphImageView:(UIImageView *)arg1; 57 | - (UIImageView *)glyphImageView; 58 | - (id)initWithGlyphImage:(id)arg1 highlightColor:(id)arg2 useLightStyle:(BOOL)arg3; 59 | - (id)initWithGlyphPackageDescription:(id)arg1 highlightColor:(id)arg2 useLightStyle:(BOOL)arg3; 60 | - (void)setGlyphPackageDescription:(CCUICAPackageDescription *)arg1; 61 | - (void)setGlyphState:(NSString *)arg1; 62 | - (id)initWithGlyphImage:(id)arg1 highlightColor:(id)arg2; 63 | - (id)initWithGlyphPackageDescription:(id)arg1 highlightColor:(id)arg2; 64 | - (CCUICAPackageDescription *)glyphPackageDescription; 65 | - (NSString *)glyphState; 66 | - (void)_primaryActionPerformed:(id)arg1; 67 | - (id)initWithHighlightColor:(id)arg1 useLightStyle:(BOOL)arg2; 68 | - (UIView *)normalStateBackgroundView; 69 | - (void)setNormalStateBackgroundView:(UIView *)arg1; 70 | - (UIView *)selectedStateBackgroundView; 71 | - (void)setSelectedStateBackgroundView:(UIView *)arg1; 72 | - (UIImageView *)selectedGlyphView; 73 | - (void)setSelectedGlyphView:(UIImageView *)arg1; 74 | - (CCUICAPackageView *)glyphPackageView; 75 | - (void)setGlyphPackageView:(CCUICAPackageView *)arg1; 76 | @end 77 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUISliderModuleBackgroundViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | 11 | @class UIImageView, CCUICAPackageView; 12 | 13 | @interface CCUISliderModuleBackgroundViewController : UIViewController { 14 | 15 | UIImageView* _headerImageView; 16 | CCUICAPackageView* _packageView; 17 | 18 | } 19 | - (void)viewWillLayoutSubviews; 20 | - (void)viewDidLoad; 21 | - (void)setGlyphImage:(id)arg1; 22 | - (void)setGlyphPackageDescription:(id)arg1; 23 | - (void)setGlyphState:(id)arg1; 24 | @end 25 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIStatusUpdate.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @class NSString; 11 | 12 | @interface CCUIStatusUpdate : NSObject { 13 | 14 | NSString* _message; 15 | NSUInteger _type; 16 | 17 | } 18 | 19 | @property (nonatomic,copy,readonly) NSString * message; //@synthesize message=_message - In the implementation block 20 | @property (nonatomic,readonly) NSUInteger type; //@synthesize type=_type - In the implementation block 21 | + (id)statusUpdateWithMessage:(id)arg1 type:(NSUInteger)arg2; 22 | - (NSUInteger)type; 23 | - (NSString *)message; 24 | - (id)_initWithMessage:(id)arg1 type:(NSUInteger)arg2; 25 | @end 26 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIToggleModule.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import "CCUIContentModule.h" 10 | #import "CCUIContentModuleContentViewController.h" 11 | 12 | @class UIViewController, CCUIToggleViewController, CCUIContentModuleContext, CCUICAPackageDescription, UIImage, UIColor, NSString; 13 | 14 | @interface CCUIToggleModule : NSObject { 15 | 16 | CCUIToggleViewController* _viewController; 17 | CCUIContentModuleContext* _contentModuleContext; 18 | CCUICAPackageDescription* _glyphPackageDescription; 19 | 20 | } 21 | 22 | @property (nonatomic,retain) CCUIContentModuleContext * contentModuleContext; //@synthesize contentModuleContext=_contentModuleContext - In the implementation block 23 | @property (assign,getter=isSelected,nonatomic) BOOL selected; 24 | @property (nonatomic,copy,readonly) UIImage * iconGlyph; 25 | @property (nonatomic,copy,readonly) UIImage * selectedIconGlyph; 26 | @property (nonatomic,copy,readonly) UIColor * selectedColor; 27 | @property (nonatomic,copy,readonly) CCUICAPackageDescription * glyphPackageDescription; //@synthesize glyphPackageDescription=_glyphPackageDescription - In the implementation block 28 | @property (nonatomic,copy,readonly) NSString * glyphState; 29 | @property (readonly) NSUInteger hash; 30 | @property (readonly) Class superclass; 31 | @property (copy,readonly) NSString * description; 32 | @property (copy,readonly) NSString * debugDescription; 33 | @property (nonatomic,readonly) UIViewController* contentViewController; 34 | @property (nonatomic,readonly) UIViewController * backgroundViewController; 35 | - (BOOL)isSelected; 36 | - (void)setSelected:(BOOL)arg1; 37 | - (UIViewController*)contentViewController; 38 | - (CCUICAPackageDescription *)glyphPackageDescription; 39 | - (NSString *)glyphState; 40 | - (void)reconfigureView; 41 | - (UIImage *)iconGlyph; 42 | - (UIImage *)selectedIconGlyph; 43 | - (id)glyphPackage; 44 | - (CCUIContentModuleContext *)contentModuleContext; 45 | - (void)setContentModuleContext:(CCUIContentModuleContext *)arg1; 46 | - (void)refreshState; 47 | - (UIColor *)selectedColor; 48 | @end 49 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/CCUIToggleViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | #import 10 | #import "CCUIContentModuleContentViewController.h" 11 | 12 | @class UIImageView, UIImage, UIColor, CCUICAPackageDescription, NSString, CCUIToggleModule; 13 | 14 | @interface CCUIToggleViewController : CCUIButtonModuleViewController { 15 | 16 | UIImageView* _glyphImageView; 17 | UIImage* _glyphImage; 18 | UIImage* _selectedGlyphImage; 19 | UIColor* _selectedColor; 20 | CCUICAPackageDescription* _glyphPackageDescription; 21 | NSString* _glyphState; 22 | CCUIToggleModule* _module; 23 | 24 | } 25 | 26 | @property (nonatomic,weak) CCUIToggleModule * module; //@synthesize module=_module - In the implementation block 27 | @property (readonly) NSUInteger hash; 28 | @property (readonly) Class superclass; 29 | @property (copy,readonly) NSString * description; 30 | @property (copy,readonly) NSString * debugDescription; 31 | @property (nonatomic,readonly) CGFloat preferredExpandedContentHeight; 32 | @property (nonatomic,readonly) CGFloat preferredExpandedContentWidth; 33 | @property (nonatomic,readonly) BOOL providesOwnPlatter; 34 | - (CCUIToggleModule *)module; 35 | - (void)viewDidLoad; 36 | - (void)viewWillAppear:(BOOL)arg1; 37 | - (void)buttonTapped:(id)arg1 forEvent:(id)arg2; 38 | - (void)reconfigureView; 39 | - (void)setModule:(CCUIToggleModule *)arg1; 40 | - (CGFloat)preferredExpandedContentHeight; 41 | - (BOOL)shouldFinishTransitionToExpandedContentModule; 42 | - (void)refreshState; 43 | @end 44 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/ControlCenterUIKit-Structs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/ControlCenterUIKit.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import 4 | #import 5 | #import 6 | #import 7 | #import 8 | #import 9 | #import 10 | #import 11 | #import 12 | #import 13 | #import 14 | #import 15 | #import 16 | #import 17 | #import 18 | #import 19 | #import 20 | #import 21 | #import 22 | #import 23 | #import 24 | #import 25 | #import 26 | #import 27 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/SBFButton.h: -------------------------------------------------------------------------------- 1 | @interface SBFButton : UIButton 2 | 3 | - (bool)_drawingAsSelected; 4 | - (void)_touchUpInside; 5 | - (void)_updateForStateChange; 6 | - (void)_updateSelected:(bool)arg1 highlighted:(bool)arg2; 7 | - (id)initWithFrame:(CGRect)arg1; 8 | - (void)setHighlighted:(bool)arg1; 9 | - (void)setSelected:(bool)arg1; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/UIGestureRecognizerDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @protocol UIGestureRecognizerDelegate 11 | @optional 12 | - (BOOL)gestureRecognizerShouldBegin:(id)arg1; 13 | - (BOOL)gestureRecognizer:(id)arg1 shouldRecognizeSimultaneouslyWithGestureRecognizer:(id)arg2; 14 | - (BOOL)gestureRecognizer:(id)arg1 shouldRequireFailureOfGestureRecognizer:(id)arg2; 15 | - (BOOL)gestureRecognizer:(id)arg1 shouldBeRequiredToFailByGestureRecognizer:(id)arg2; 16 | - (BOOL)gestureRecognizer:(id)arg1 shouldReceiveTouch:(id)arg2; 17 | - (BOOL)gestureRecognizer:(id)arg1 shouldReceivePress:(id)arg2; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/UIViewControllerAnimatedTransitioning.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @protocol UIViewControllerAnimatedTransitioning 11 | @optional 12 | - (id)interruptibleAnimatorForTransition:(id)arg1; 13 | - (void)animationEnded:(BOOL)arg1; 14 | 15 | @required 16 | - (CGFloat)transitionDuration:(id)arg1; 17 | - (void)animateTransition:(id)arg1; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/UIViewControllerTransitioningDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @protocol UIViewControllerTransitioningDelegate 11 | @optional 12 | - (id)presentationControllerForPresentedViewController:(id)arg1 presentingViewController:(id)arg2 sourceViewController:(id)arg3; 13 | - (id)animationControllerForPresentedController:(id)arg1 presentingController:(id)arg2 sourceController:(id)arg3; 14 | - (id)interactionControllerForPresentation:(id)arg1; 15 | - (id)animationControllerForDismissedController:(id)arg1; 16 | - (id)interactionControllerForDismissal:(id)arg1; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /CAPerfHUDModule/include/ControlCenterUIKit/_UISettingsKeyObserver.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This header is generated by classdump-dyld 1.0 3 | * on Wednesday, May 16, 2018 at 2:00:09 PM Central European Summer Time 4 | * Operating System: Version 11.1.2 (Build 15B202) 5 | * Image Source: /System/Library/PrivateFrameworks/ControlCenterUIKit.framework/ControlCenterUIKit 6 | * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. 7 | */ 8 | 9 | 10 | @protocol _UISettingsKeyObserver 11 | @required 12 | - (void)settings:(id)arg1 changedValueForKey:(id)arg2; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Common/CADebugCommon.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #define CA_DEBUG_OPTION_PERF_HUD 0x24 4 | 5 | int CARenderServerGetDebugOption(mach_port_t port, int key); 6 | int CARenderServerGetDebugValue(mach_port_t port, int key); 7 | void CARenderServerSetDebugOption(mach_port_t port, int key, int value); 8 | void CARenderServerSetDebugValue(mach_port_t port, int key, int value); 9 | 10 | @interface CADebugCommon : NSObject 11 | 12 | + (NSArray *)perfHUDLevelNames; 13 | + (NSInteger)perfHUDLevel; 14 | + (void)setPerfHUDLevel:(NSInteger)level; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Common/CADebugCommon.m: -------------------------------------------------------------------------------- 1 | #import "CADebugCommon.h" 2 | 3 | @implementation CADebugCommon 4 | 5 | + (NSArray *)perfHUDLevelNames { 6 | return @[@"Off", @"Basic", @"Backdrop", @"Particles", @"Full", 7 | @"Frequencies", @"Power", @"FPS only", @"Display", @"Glitches"]; 8 | }; 9 | 10 | + (NSInteger)perfHUDLevel { 11 | if (!CARenderServerGetDebugOption(0, CA_DEBUG_OPTION_PERF_HUD)) { 12 | return 0; 13 | } 14 | return CARenderServerGetDebugValue(0, 1)+1; 15 | } 16 | 17 | + (void)setPerfHUDLevel:(NSInteger)level { 18 | CARenderServerSetDebugOption(0, CA_DEBUG_OPTION_PERF_HUD, level != 0); 19 | if (level > 0) { 20 | CARenderServerSetDebugValue(0, 1, level-1); 21 | } 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CAPerfHUD 2 | Enable system-wide performance HUD for iOS 13+. Requires jailbreak or TrollStore. 3 | 4 | ![C4EBC522-2C77-4D92-81D0-F5B38C1DF0D0](https://github.com/khanhduytran0/CAPerfHUD/assets/40482367/de6ce69b-2636-46bc-9072-ad2687c4b1a3) 5 | 6 | ## Notes 7 | - iOS 12 (and below?) support is possible, but I couldn't find any similar entitlement, since `com.apple.QuartzCore.debug` was not there. 8 | - Some measurements may not work (frequencies, power consumption, display EDR). 9 | - Change lasts until backboardd restarts (respring) 10 | 11 | ## Source code structure 12 | - `CAPerfHUDApp`: Application for AppSync/TrollStore. 13 | - `CAPerfHUDModule`: CCSupport module for jailbroken devices. 14 | - `CAPerfHUDModule/CADebugHelper`: helper executable to get/set debug values because SpringBoard isn't entitled to do so. 15 | 16 | ## Building 17 | ``` 18 | export THEOS=/path/to/theos 19 | 20 | # Build ipa for AppSync/TrollStore 21 | make -C CAPerfHUDApp package PACKAGE_FORMAT=ipa 22 | 23 | # Before building for the opposite deb package scheme, make sure to add "clean" before "package" 24 | 25 | # Build rootful deb for CCSupport 26 | make -C CAPerfHUDModule package 27 | 28 | # Build rootless deb for CCSupport 29 | make -C CAPerfHUDModule package THEOS_PACKAGE_SCHEME=rootless 30 | ``` 31 | 32 | ## License 33 | [Apache License 2.0](https://github.com/khanhduytran0/CAPerfHUD/blob/main/LICENSE). 34 | --------------------------------------------------------------------------------