Madao-3 / LOK

LOK - a powerful iOS network debug library and make you debug easier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LOK

LOK MIT iOS OSX

A lightweight and powerful iOS/OSX network library to make your debugging easier.

LOK can analyze all your request with a single line code.

[[LOKServer shareServer] setServerStart:YES]; 

analyze all your request

Features

  • 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.

Installation

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

Usage

[[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.

Get in touch!

If you're using LOK, I'd love to hear from you. Drop me a line and tell me what you think!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

LOK - a powerful iOS network debug library and make you debug easier.


Languages

Language:JavaScript 87.2%Language:Objective-C 7.5%Language:HTML 2.0%Language:CoffeeScript 1.8%Language:CSS 1.2%Language:Ruby 0.2%