This library is used to measure the time and time of the pre-main phase more accurately.
Requirements
- iOS 8.0 or later
- using CocoaPods
- by cloning the project into your repository
platform :ios, '8.0'
pod 'A0PreMainTime'
There are 2 subspecs available now: PreMainTime
and TimeMonitor
(this means you can install only some of the A0PreMainTime modules.
Podfile example:
pod 'A0PreMainTime/PreMainTime'
//or
pod 'A0PreMainTime/TimeMonitor'
subspecs => PreMainTime
#import <A0PreMainTime/A0PreMainTime.h>
All parameters are placed in the ZBStartTime.h file, please refer to your own.
subspecs => TimeMonitor
#import <A0PreMainTime/ZBTimeMonitorManager.h>
Not:
For each business you must first set
- (void)startWithType:(NSUInteger)type;
At this point your workspace should build without error. If you are having problem, post to the Issue and the community can help you solve it.
autoBuild.sh
are used to automatically build the framework
./autoBuild.sh