Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


A lightweight, one line setup, iOS / OSX network debugging library!

Subscribe to updates I use netfox

Statistics on netfox

Number of watchers on Github 2065
Number of open issues 10
Average time to close an issue 24 days
Main language Swift
Average time to merge a PR about 8 hours
Open pull requests 29+
Closed pull requests 1+
Last commit almost 2 years ago
Repo Created about 4 years ago
Repo Last Updated almost 2 years ago
Size 7.82 MB
Organization / Authorkasketis
Latest Release1.10.3
Page Updated
Do you use netfox? Leave a review!
View open issues (10)
View netfox activity
View on github
Fresh, new opensource launches πŸš€πŸš€πŸš€
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating netfox for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Netfox: A lightweight, one line setup, network debugging library

Version CI Status Cocoapods Compatible Carthage Compatible Platform License

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 Podfile:

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 Cartfile:

github "kasketis/netfox"


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.

  • If you target on iOS keep only Core and iOS folders (remove OSX folder)
  • If you target on OSX keep only Core and OSX folders (remove iOS folder)



// 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

. . .

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 Build Settings


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

Custom gestures

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.

Prevent logging for specific URLs

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 to ignore all paths of it


  • Search: You can easily search among requests via
    • Request url:, .gr, or whatever you want
    • Request method: GET, POST, etc
    • Response type: Like json, xml, html, image and more
  • Sharing: You can share your log via email with backend devs or someone who can help.
    • Simple log option includes only request/response headers and small request/response bodies (when applicable)
    • Full log option includes request/response headers and request/response bodies (as attachments)
  • Filtering: Select what types of responses (JSON/XML/HTML/Image/Other) you want to see
  • Enable/disable logging within the app
  • Clear data within the app
  • Statistics: Check cool things like average response time, total response size and more for your selected types of responses
  • Info: Check your IP address, your app version and build number and other things within the app
  • More to come.. ;)


  • If you experience any problems with request logging please check this. If you don't get your answer please open an issue
  • Due to the large size of request/response bodies, the library provides disk storage for low memory overhead


Special thanks to tbaranes and vincedev for their contribution on OSX library!


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.

netfox open issues Ask a question     (View All Issues)
  • over 3 years Issue with Carthage
  • over 3 years SSL pinning support
  • over 3 years Crash in NFXProtocol's startLoading()
  • over 3 years UIWebView does not behave as expected when netfox is enabled.
  • over 3 years Something wrong if there is oauth implemented in project
  • almost 4 years Caching broken with Netfox protocol
  • about 4 years Large increase in memory usage with netfox enabled
  • about 4 years Remote Logging
  • about 4 years Proper casing in project naming
  • about 4 years Using Netfox without modal presentation
  • about 4 years Netfox & Parse: can't see my Parse requests
  • about 4 years New features
  • about 4 years Doesn't work with AFNetworking 2.6.1
  • about 4 years KFSwiftImageLoader
netfox open pull requests (View All Pulls)
  • Post notifications for opening/closing NetFox
  • FIX: Fix crasher found via Crashlytics.
  • Correct the spelling of CocoaPods in README
  • OSX Support
  • fix possible crashes in NFXProtocol
  • add hide button
  • Public exposing of NFXListController
  • Making it possible to manually save requests and responses
  • Update to swift 2.2 syntax
  • Xcode 7.3 / Swift 2.2 Update
  • Added done button
  • Added all logs to be merged into one session.log file
  • Swift 3.0 Port for Issue 63 (…
  • Updated Year in License File
  • Fix macOS podspec
  • add Swift 2.3 compatibility
  • Swift 3 support
  • Support Swfit 2.3
  • Updating to Swift 3
  • Syntax updates to conform Swift 2.3
  • Updated the workaround to Swift 3
  • Fix warning on NFXGenericController.swift
  • `NFX.sharedInstance()` accessibility in ObjC when mixed with Swift 4
  • Read request body fix using HTTPBodyStream
  • NSURLRequest httpBodyStream
  • Issue #62 suggested fix
  • Π˜ΡΠΏΡ€Π°Π²Π»Π΅Π½ ΠΊΡ€ΡΡˆ
  • Realtime updates
  • Added curl functionality
netfox list of languages used
Other projects in Swift