Latest 0.1.2
Homepage https://github.com/andyRon/ARFPSStatus
License MIT
Platforms ios 9.0
Frameworks Foundation, UIKit
Authors

ARFPSStatus

ARFPSStatus

ARFPSStatus 是Swift的版本的用来显示FPS状态在iOS状态栏的简单库,FPS(Frame Per Second)是一秒钟渲染多少帧的意思。一般FPS小于60人眼就会感觉不连贯、卡顿。FPS的值最佳为60左右。

使用

application(_:willFinishLaunchingWithOptions:)方法中添加:

ARFPSStatus.shared.open()

ARFPSStatus.shared.openWithHandler { (fpsValue) in
     print("fpsValue (fpsValue)")
}

不需要时,关闭:

ARFPSStatus.shared.close()

ARFPSStatus

Latest podspec

{
    "name": "ARFPSStatus",
    "version": "0.1.2",
    "summary": "ARFPSStatus - Show FPS Status on StatusBar in Swift",
    "homepage": "https://github.com/andyRon/ARFPSStatus",
    "license": "MIT",
    "authors": {
        "andyron": "[email protected]"
    },
    "source": {
        "git": "https://github.com/andyRon/ARFPSStatus.git",
        "tag": "0.1.2"
    },
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "ARFPSStatus/*",
    "pushed_with_swift_version": "4"
}

Pin It on Pinterest

Share This