Example how to use krzysztofzablocki/Inject in a SwiftUI application
- 77d45f7: add demo app without Inject
- 25c14c1: add krzysztofzablocki/Inject@1.0.3
- 15d4c08: add
-Xlinker -interposable
to project's "Other Linker Flags" - 35716d5: instrument SwiftUI code to enable injection
- a744b4c: use Inject in local package as well (also updating Inject to v1.0.5)
I show you all the steps needed to instrument your SwiftUI app in my YouTube video.
The video skips how to install InjectionIII.app
(see here for details) but I'll show you how to use the macOS application.