LOK can analyze all your request with a single line code.
[[LOKServer shareServer] setServerStart:YES];
- analyze all of your http/https requests
- analyze your cpu/memory/fps (works in iOS)
- only one line is needed to make the service work.
To integrate LOK into your Xcode project using CocoaPods, specify it in your Podfile
:
group :development do
gem "LOK"
end
Then, run the following command:
$ pod install
[[LOKServer shareServer] setServerStart:YES];
The default port is 12345. You can also customize the port number:
[[LOKServer shareServer] setServerStartWithPort:`<#(NSInteger)#>`]
If you are using the emulator, you can access the monitoring at http://localhost:12345
.
When the app launches, the url will be copied to the pasteboard.
If you're using LOK, I'd love to hear from you. Drop me a line and tell me what you think!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request