TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2016 |
SPMSupports SPM | ✗ |
Maintained by litt1e-p.
iOS App FPS tracer and monitor that works in even different rootViewControllers
pod 'LPFPS', '~> 0.0.2'
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
/* initial your window
window = UIWindow(frame: UIScreen.mainScreen().bounds)
window?.rootViewController = yourRootViewController()
window?.makeKeyAndVisible()
*/
//start FPS
let kFPSIns = LPFPS.sharedFPS
#if DEBUG
kFPSIns.start()
//#else
//kFPSIns.stop()
#endif
return true
}
if you don’t know how to define a DEBUG flag in Swift, this post will may do help
make class var public
origin version.