Skip to content

ltovem/LTFPS

Repository files navigation

LTFPS

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like AFNetworking in your projects. See the "Getting Started" guide for more information. You can install it with the following command:

$ gem install cocoapods

CocoaPods 0.39.0+ is required to build AFNetworking 3.0.0+.

Podfile

To integrate AFNetworking into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

target 'TargetName' do
pod 'LTFPS'
end

Then, run the following command:

$ pod install

how to use

you can start LTFPS by write a line code in monted didFinishLaunchingWithOptions with Appdelegateclass like this

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
#if DEBUG
    LTFPS.share.enable = YES;
#endif
    return YES;
}

You can see FPSLAbel when you run the app.

screen

Other functions

  1. You can drag the LTFPS Label to the position you want.
  2. You can sign up for LTFPS notifications like this for obser click LTFPS label