Repository navigation
1.0.0
First public release: a ground-up, pure Swift rewrite of DoKit. No dependencies, no reporting, iOS 13+.
Visual inspection
- Colour picker, view inspector, alignment ruler, layout borders and the UI hierarchy folded into one entry.
- View lookup rewritten — the overlay no longer swallows touches meant for the host app.
- A large amount of boilerplate removed: the original synthesized every property in Objective-C, here they are rendered from JSON.
- Edit object properties live, through a redesigned editor and a re-curated set of editable properties.
- Layout properties are read-only for now — constraints need their own design.
Everyday tools
- Performance: CPU / memory / FPS, as an overlay and as a report in line / bar / text style.
- Info: app info, console, network capture, UserDefaults browser, sandbox file browser.
Overall
- New UI written from scratch on iOS 13 SF Symbols.
- Dark mode, English and Chinese out of the box.
- Bring your own plugins via
DO.Plugin— they land in a dedicated group at the top of the menu.
Install
CocoaPods:
pod 'DoSwiftKit', '1.0.0'SwiftPM:
.package(url: "https://github.com/darkThanBlack/DoSwiftKit.git", from: "1.0.0")Usage
#if DEBUG
DO.Core.shared.setup(appScene: windowScene, appWindow: window)
#endifRequires iOS 13.0+ and Swift 5.9+.
中文摘要
首个公开版本:基于 Swift 对 DoKit 的彻底重写,零依赖、无上报,支持 iOS 13+。
视觉检查合并为一个入口(取色 / 视图检查 / 量距 / 布局边框 / 视图层级),视图查找重写后浮层不再拦截宿主 App 的触摸;属性渲染由 JSON 驱动,去掉了原版大量 Objective-C 样板;支持运行时修改对象属性,布局属性暂为只读。
另有 CPU / 内存 / FPS(浮窗 + 折线 / 柱状 / 文本报表)、App 信息、控制台、网络抓包、UserDefaults 与沙盒浏览,并支持通过 DO.Plugin 自带插件。