Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szlsay/stfpsindicator
iOS fps的检测器
https://github.com/szlsay/stfpsindicator
Last synced: about 1 month ago
JSON representation
iOS fps的检测器
- Host: GitHub
- URL: https://github.com/szlsay/stfpsindicator
- Owner: szlsay
- License: mit
- Created: 2017-01-03T09:56:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-07T02:15:04.000Z (about 8 years ago)
- Last Synced: 2024-03-01T11:21:38.915Z (11 months ago)
- Language: Objective-C
- Size: 45.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)