Fork me on GitHub

CCFPSStatus show FPS status

CCFPSStatus

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

Screenshots

CCFPSStatus fps

Podfile

1
2
3
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.