Latest 0.0.1
Homepage https://github.com/ihomway/HWFPSDisplay
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit
Authors

Pod Version
Pod Platform
Pod License

Display FPS On Screen

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like HWFPSDisplay in your projects. You can install it with the following command:

    $ gem install cocoapods

Podfile

To integrate HWFPSDisplay into your Xcode project using CocoaPods, specify it in your Podfile:

    pod 'HWFPSDisplay', '~> 0.0.1'

Then, run the follwoing command:

    $ pod install

Usage

Display FPS

    [HWFPSDisplay shareDisplay].labelOriginPoint = CGPointMake(100, 20);

    [[HWFPSDisplay shareDisplay] start];

Set the labelOriginPoint property to give the label a right position, and then call start to make it visible.

Remove FPS

Just need one line code.

    [[HWFPSDisplay shareDisplay] stop];

Licenses

All source code is licensed under the MIT License.

Latest podspec

{
    "name": "HWFPSDisplay",
    "version": "0.0.1",
    "summary": "Display your app's FPS on screen",
    "homepage": "https://github.com/ihomway/HWFPSDisplay",
    "license": "MIT",
    "authors": {
        "ihomway": "[email protected]"
    },
    "social_media_url": "https://twitter.com/ihomway",
    "platforms": {
        "ios": "7.0"
    },
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "source": {
        "git": "https://github.com/ihomway/HWFPSDisplay.git",
        "tag": "0.0.1"
    },
    "source_files": "HWFPSDisplay/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This