If you’ve ever thought Apple isn’t opinionated on app architecture, look again. App Intents has a type called AppDependencyManager built-in, which promotes injection of dependencies, and they even recommend using it in the main app target, setting it up in your App’s init. Buttons and Toggle can take an AppIntent. It’s almost like Apple built their own optional alternative to PointFree’s TCA.

https://developer.apple.com/videos/play/wwdc2025/244/

https://developer.apple.com/videos/play/wwdc2025/275/

https://developer.apple.com/videos/play/wwdc2025/260/

https://developer.apple.com/videos/play/wwdc2025/281/