Wormholy

iOS 网络调试,像魔术师一样。『iOS network debugging, like a wizard ?‍♂️』

Github星跟踪图

Language
Pod version

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

What you can do:

  • No code to write and no imports.
  • Record all app traffic that uses NSURLSession.
  • Reveal the content of all requests, responses, and headers simply by shaking your phone!
  • No headaches with SSL certificates on HTTPS calls.
  • Find, isolate and fix bugs quickly.
  • Swift & Objective-C compatibility.
  • Also works with external libraries like Alamofire & AFNetworking.

Requirements


  • iOS 9.0+
  • Xcode 10+
  • Swift 4, 4.1, 4.2 and Swift 5

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

  • If you need help or you'd like to ask a general question, open an issue.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

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.

主要指标

概览
名称与所有者pmusolino/Wormholy
主编程语言Swift
编程语言Swift (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2018-04-09 14:11:55
推送于2025-03-23 15:40:40
最后一次提交2025-03-23 16:39:45
发布数27
最新版本名称2.1.0 (发布于 2025-03-23 16:40:31)
第一版名称1.0.0 (发布于 2018-07-14 17:46:59)
用户参与
星数2.5k
关注者数22
派生数195
提交数386
已启用问题?
问题数94
打开的问题数14
拉请求数36
打开的拉请求数1
关闭的拉请求数22
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?