Latest | 1.0.0 |
---|---|
Homepage | https://github.com/josipbernat/JBPerformanceLogger |
License | MIT |
Platforms | ios 7.0, requires ARC |
Dependencies | PureLayout |
Authors |
Performance logger suitable for measuring number of frames per second in iOS applications.
Installation with CocoaPods
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like JBMessage in your projects. This is recommented way for instalation.
Podfile
platform :ios, '7.0'
pod 'JBPerformanceLogger'
USAGE
I always wanted to measure performance of UITableView during scroll and I liked way how game engines display FPS number. Hope this will be good replacement for that feature.
Call start to start it. It will automatically appear in key window.
[JBPerformanceLogger start];
Call stop to stop it. It will automatically dissappear from key window.
[JBPerformanceLogger stop];
You can adjust it’s position in window, offset and text color. It uses PureLayout library for adding NSLayoutConstraints and positioning in window.
[JBPerformanceLogger setPosition:JBPerformanceLoggerPositionBottom | setPosition:JBPerformanceLoggerPositionLeft];
[JBPerformanceLogger setTextColor:[UIColor greenColor]];
Issues
Feel free to raise an issue if you find bug or you have some suggestion for improving it.
Latest podspec
{ "name": "JBPerformanceLogger", "version": "1.0.0", "summary": "Performance logger suitable for measuring number of frames per second in iOS applications.", "homepage": "https://github.com/josipbernat/JBPerformanceLogger", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Josip Bernat": "[email protected]" }, "social_media_url": "http://twitter.com/josipbernat", "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/josipbernat/JBPerformanceLogger.git", "tag": "v1.0.0" }, "source_files": "JBPerformanceLogger/JBPerformanceLogger/**/*.{h,m}", "requires_arc": true, "dependencies": { "PureLayout": [] } }
Tue, 01 Mar 2016 20:09:03 +0000