App Intents

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.…