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+.
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
you can start LTFPS by write a line code in monted didFinishLaunchingWithOptions
with Appdelegate
class like this
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
#if DEBUG
LTFPS.share.enable = YES;
#endif
return YES;
}
- You can drag the LTFPS Label to the position you want.
- You can sign up for LTFPS notifications like this for obser click LTFPS label