Latest 1.0.0
Homepage https://github.com/litt1e-p/LPFPS
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, UIKit
Authors

iOS App FPS tracer and monitor that works in even different rootViewControllers

Installation

pod 'LPFPS', '~> 0.0.2'

Usage

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

Screenshot

LPFPS

Release notes

  • 0.0.2

make class var public

  • 0.0.1

origin version.

Latest podspec

{
    "name": "LPFPS",
    "version": "1.0.0",
    "summary": "iOS App FPS tracer and monitor",
    "description": "iOS App FPS tracer and monitor that works in even different rootViewControllers",
    "homepage": "https://github.com/litt1e-p/LPFPS",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "litt1e-p": "[email protected]"
    },
    "source": {
        "git": "https://github.com/litt1e-p/LPFPS.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "LPFPS/*",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This