• Stars
    star
    702
  • Rank 64,499 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Show FPS Bar instead of StatusBar on iOS

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?

More Repositories

1

RRAutoLayout

iOS6 AutoLayout backport to iOS5
Objective-C
246
star
2

RRConstraintsPlugin

Xcode plugin for better constraints based layout workflow
Objective-C
198
star
3

iLabyrinth

iOS game
Objective-C
185
star
4

Heredox

http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=555104623&mt=8
Objective-C
34
star
5

RRTableHeaderView

Objective-C
19
star
6

RRMetaballs

Metaballs (aka Blobs) and Marching Squares implementation
Objective-C
14
star
7

RRiOS7Backport

libRRiOS7Backport is an effort to backport parts of iOS7 to iOS6/iOS5
Objective-C
14
star
8

RRPeeAnalyzer

Urine Strip Analyzer
Objective-C
10
star
9

at-brute

AT commands brute-forcer
JavaScript
7
star
10

RRContainerView

iOS6 "Container View" backport to iOS5
Objective-C
6
star
11

RRTouchRemote

iTunes and AppleTV remote controll using DMAP protocol
Objective-C
4
star
12

UIApplication-UDAdditions

adds UIApplicationStatusBarDidTouchNotification
Objective-C
4
star
13

RRCrashlytics

Unofficial Crashlytics API
Objective-C
3
star
14

RRiOS8Backport

libRRiOS8Backport is an effort to backport parts of iOS8 to iOS7
Objective-C
3
star
15

RRBaseInternationalization

iOS6 Base Internationalization backport to iOS5
Objective-C
2
star
16

RRKeychain

iOS ObjC wrapper for keychain
Objective-C
2
star
17

RRCube

my Unity3D learning game based on movie "Cube" and "Hypercube"
C#
2
star
18

RRBee

Pet project for BeeWi car controlling @YPlan
Objective-C
1
star
19

RRSenderPhoto

RRSenderPhoto plugin for Mac Mail
Objective-C
1
star
20

UnityEngine.Texture2D-RRExtensions

Add DrawLine(int x0, int y0, int x1, int y1, Color color) and DrawText(string text, int x, int y, Color color) to Unity3D UnityEngine.Texture2D
C#
1
star
21

SSlack

crypto in Slack
Objective-C
1
star