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/

Get to know App Intents - WWDC25 - Videos - Apple Developer

Learn about the App Intents framework and its increasingly critical role within Apple's developer platforms. We'll take you through a...

Apple Developer