Latest 0.1.1
Homepage https://github.com/joggerplus/JPFPSStatus
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit
Authors

Pod Version
Pod Platform
Pod License

README 中文

Show FPS Status on StatusBar

Podfile

platform :ios, '7.0'
pod 'JPFPSStatus', '~> 0.1.1'

Instruction

Note:Use JPFPSStatus in DEBUG mode

add the code in AppDelegate.m

#import "JPFPSStatus.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
#if defined(DEBUG)||defined(_DEBUG)
    [[JPFPSStatus sharedInstance] open];
#endif
    return YES;
}

#if defined(DEBUG)||defined(_DEBUG)
    [[JPFPSStatus sharedInstance] openWithHandler:^(NSInteger fpsValue) {
        NSLog(@"fpsvalue %@",@(fpsValue));
    }];
#endif

#if defined(DEBUG)||defined(_DEBUG)
    [[JPFPSStatus sharedInstance] close];
#endif

JPFPSStatus

Licenses

All source code is licensed under the MIT License.

Latest podspec

{
    "name": "JPFPSStatus",
    "version": "0.1.1",
    "summary": "JPFPSStatus - Show FPS Status on StatusBar",
    "homepage": "https://github.com/joggerplus/JPFPSStatus",
    "license": "MIT",
    "authors": {
        "coderyi": "[email protected]"
    },
    "source": {
        "git": "https://github.com/joggerplus/JPFPSStatus.git",
        "tag": "0.1.1"
    },
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "JPFPSStatus/JPFPSStatus/**/*.{h,m,png}",
    "requires_arc": true
}

Pin It on Pinterest

Share This