Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ryderfang/FPSLabel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPSLabel

Version License Platform

A tiny library provides a draggble label that display FPS.

Installation

  1. Run pod repo update to make CocoaPods aware of the latest available FPSLabel versions.
  2. In your Podfile, add pod 'FPSLabel' to your main and test targets.
  3. From the command line, run pod install.

How to use

From AppDelegate, inside didFinishLaunchingWithOptions

  • Objective-C:
#import <FPSLabel/FPSLabel.h>

[FPSLabel installOnWindow:self.window]; 
  • Swift:
import FPSLabel

FPSLabel.install(on: self.window) 

Demo

Image

Reference

🆕 Update

Forked from https://github.com/qkzhu/FPSLabel, and rewrite with Swift.

About

A draggble label that display FPS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 51.9%
  • Swift 42.6%
  • Ruby 5.5%