Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/szlsay/stfpsindicator

iOS fps的检测器
https://github.com/szlsay/stfpsindicator

Last synced: about 1 month ago
JSON representation

iOS fps的检测器

Awesome Lists containing this project

README

        

# STFPSIndicator
![License MIT](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)
![Pod version](https://img.shields.io/cocoapods/v/STFPSIndicator.svg?style=flat)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Platform info](https://img.shields.io/cocoapods/p/STFPSIndicator.svg?style=flat)](http://cocoadocs.org/docsets/STFPSIndicator)

iOS FPS的检测器

## 使用方式
### Pod

`pod 'STFPSIndicator', :configurations => ['Debug']`
### Carthage
`github "stzhenzhaoliang/STFPSIndicator" "1.0"`

## 接口
```
/** 1.初始化, 视图一定要添加到UIWindow初始化事件之后,否则没法显示 */
+ (STFPSIndicator *)sharedFPSIndicator;
/** 2.显示视图 */
- (void)show;
/** 3.隐藏视图 */
- (void)hide;
```
## 效果图
![](https://github.com/STShenZhaoliang/STImage/raw/master/STFPSIndicator/STFPS.gif)