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

March 24, 2026 · 1 min

Breaking down Swift Playgrounds 4.6

Apple has released the long-awaited Swift Playgrounds 4.6 update, or as it’s now known, Swift Playground! The release notes read as follows: This update includes a new document browser to easily create a new playground or find a recent one, and provides bug fixes and improved stability. Let’s see what’s new! iOS 18 Support! Despite the description, the update does include support for targeting SDKs up to iOS 18.1. Interface changes The update also includes the new document browser demoed in June last year which is a big win for organising projects!...

January 31, 2025 · 2 min

Effective SwiftUI Previews

Previews are a handy tool for getting a live look at all possible states of a view, and I often finding myself creating loads without thinking. Yet I find people often have trouble getting previews to work nicely. This is my attempt to break down my approach for those people. If you use TCA, which ties architecture very deeply to the view, my best advice is to look to their docs on the topic....

April 28, 2024 · 9 min