|Number of watchers on Github||2065|
|Number of open issues||10|
|Average time to close an issue||24 days|
|Average time to merge a PR||about 8 hours|
|Open pull requests||29+|
|Closed pull requests||1+|
|Last commit||7 months ago|
|Repo Created||almost 3 years ago|
|Repo Last Updated||7 months ago|
|Organization / Author||kasketis|
|Do you use netfox? Leave a review!|
|View open issues (10)|
|View netfox activity|
|View on github|
|Latest Open Source Launches|
Trendy new open source projects in your inbox! View examples
Netfox provides a quick look on all executed network requests performed by your iOS or OSX app. It grabs all requests - of course yours, requests from 3rd party libraries (such as AFNetworking, Alamofire or else), UIWebViews, and more
Very useful and handy for network related issues and bugs
Supports Swift 3.2 and 4 - bridged also for Objective-C
Feel free to contribute :)
CocoaPods is a dependency manager for Cocoa projects. To integrate netfox into your Xcode project using CocoaPods, specify it in your
use_frameworks! pod 'netfox'
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate netfox into your Xcode project using Carthage, specify it in your
If you prefer not to use dependency managers, you can integrate netfox into your project manually.
You can do it by copying the
netfox folder in your project (make sure that
Create groups option is selected)
The above folder contains 3 subfolders: Core, iOS and OSX.
// AppDelegate import netfox_ios NFX.sharedInstance().start() // in didFinishLaunchingWithOptions:
// AppDelegate [[NFX sharedInstance] start]; // in didFinishLaunchingWithOptions:
Just simple as that!
Note: Please wrap the above line with
#if DEBUG . . . #endif
to prevent librarys execution on your production app.
You can add the DEBUG symbol with the -DDEBUG entry. Set it in the
Swift Compiler - Custom Flags section ->
Other Swift Flags line in projects
Just shake your device and check what's going right or wrong! Shake again and go back to your app!
to stop netfox and clear all saved data. If you stop netfox its view will not be displayed until you call start method again.
If you want to just enable/disable logging functionality or clear the data please use the buttons provided in the settings view
By default the library registers for shake motion. If you want to open the logs with a different gesture, add the following line after the installation one
Then you can use
when you want to show the logs and
when you want to hide them.
Use the following method to prevent requests for specified URL from being logged. You can ignore as many URLs as you want
Tip: You can use the url of the host (for example
https://www.github.com) to ignore all paths of it
All source code is licensed under MIT License. Which means you could do virtually anything with the code. I will appreciate it very much if you keep an attribution where appropriate.