pmusolino / Wormholy

iOS network debugging, like a wizard šŸ§™ā€ā™‚ļø
MIT License
2.35k stars 189 forks source link
alamofire charles debugger https ios logger logging network nsurlsession

Icon

[Language]() Pod version Carthage Compatible

Start debugging iOS network calls like a wizard, without extra code! Wormholy makes debugging quick and reliable.

What you can do:

Icon

Requirements


Usage


Add it to your project, and that's all! Shake your device or your simulator and Wormholy will appear! You don't need to import the library into your code, it works magically!

I suggest you install it only in debug mode. The easiest way is with CocoaPods:

pod 'Wormholy', :configurations => ['Debug']

If you want to disable the shake, and fire Wormholy from another point inside your app, you need to set the environment variable WORMHOLY_SHAKE_ENABLED = NO, and call this local notification:

NotificationCenter.default.post(name: NSNotification.Name(rawValue: "wormholy_fire"), object: nil)

You can also programmatically enable/disable the shake gesture at any time. You can do Wormholy.shakeEnabled = false to disable (or enable) the shake gesture.

Carthage


You can also install Wormholy using Carthage.

To integrate Wormholy into your Xcode project using Carthage, specify it in your Cartfile:

github "pmusolino/Wormholy"

Run carthage update to build the framework and drag the built Wormholy.framework into your Xcode project.

Contributing

Acknowledgements

Made with ā¤ļø by Paolo Musolino.

Follow me on:

šŸ’¼ Linkedin

šŸ¤– Twitter

šŸŒ‡ Instagram

šŸ‘ØšŸ¼ā€šŸŽ¤ Facebook

MIT License


Wormholy is available under the MIT license. See the LICENSE file for more info.