rrf

RRFPSBar

Show FPS Bar instead of StatusBar on iOS

Showing:

Popularity

Downloads/wk

0

GitHub Stars

704

Maintenance

Last Commit

5yrs ago

Contributors

7

Package

Dependencies

0

License

MIT

Categories

Readme

RRFPSBar

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?

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100