CCFPSStatus 0.0.1

CCFPSStatus 0.0.1

Maintained by ai mac.




  • By
  • CC

CCFPSStatus

CCFPSStatus show FPS status | Flexible location (Built-in on JPFPSStatus, optimize and adjust it)

Screenshots

CCFPSStatus fps

Podfile

platform :ios, '9.0'
pod 'CCFPSStatus'

Instruction

Noteļ¼šUse CCFPSStatus in DEBUG mode

add the code in AppDelegate.m

#import "CCFPSStatus.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
#if defined(DEBUG)||defined(_DEBUG)
    [[CCFPSStatus sharedInstance] open];
#endif
    return YES;
}
#if defined(DEBUG)||defined(_DEBUG)
	[[CCFPSStatus sharedInstance] openWithHandler:^(NSInteger fpsValue) {
		NSLog(@"fpsvalue %@",@(fpsValue));
	}];
#endif
#if defined(DEBUG)||defined(_DEBUG)
    [[CCFPSStatus sharedInstance] close];
#endif

Licenses

All source code is licensed under the MIT License.