Latest 0.0.1
Homepage https://github.com/RolandasRazma/RRFPSBar
License MIT Copyright 2013 Rolandas Razma. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Platforms ios 5.0, requires ARC
Authors

Usage

// Include only if app is is not optimized (aka debug build)
#ifndef __OPTIMIZE__
  #import "RRFPSBar.h"
#endif

@implementation YourAppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  // Show only if app is is not optimized (aka debug build)
#ifndef __OPTIMIZE__
    [[RRFPSBar sharedInstance] setHidden:NO];
#endif

}

@end

TODO:

Rewrite in GL to reduce drawing lag

I don’t have blog so…

I hate lagging apps and do my best to keep FPS high on @YPlan.
Sometimes it’s very hard to say if lag is visual or real and Instruments IMO is bit awkward.
I needed better "tool"… At first, I wrote quick FPS counter that showed FPS in UILabel but that wasn’t verry convenient as it covered part of the app and you couldn’t see history,
so I decided to add graph. But where…? STATUSBAR!!! It’s perfect place! I don’t use it for anything and it doesn’t cover app – what can be better?

Latest podspec

{
    "name": "RRFPSBar",
    "version": "0.0.1",
    "summary": "Shows a framerate graph in place of the status bar on iOS.",
    "homepage": "https://github.com/RolandasRazma/RRFPSBar",
    "license": {
        "type": "MIT",
        "text": "Copyright 2013 Rolandas Razma. All rights reserved.nnPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.n"
    },
    "screenshots": "http://img843.imageshack.us/img843/6739/img1067c.png",
    "authors": {
        "Rolandas Razma": "[email protected]"
    },
    "source": {
        "git": "https://github.com/RolandasRazma/RRFPSBar.git",
        "commit": "21dfb24bc1010d5dcc161a145ada5ed5ba9bbae8"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source_files": "RRFPSBar.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This