A tiny library provides a draggble label that display FPS.
- Run
pod repo update
to make CocoaPods aware of the latest available FPSLabel versions. - In your Podfile, add
pod 'FPSLabel'
to your main and test targets. - From the command line, run
pod install
.
From AppDelegate
, inside didFinishLaunchingWithOptions
- Objective-C:
#import <FPSLabel/FPSLabel.h>
[FPSLabel installOnWindow:self.window];
- Swift:
import FPSLabel
FPSLabel.install(on: self.window)