AI Coding Still Needs Architecture
Published on 07 May 2026AI coding tools make architecture more important, not less important. Learn why I give AI agents an ARCHITECTURE.md file before asking them to write code.
Practical software architecture and design for iOS engineers.
AI coding tools make architecture more important, not less important. Learn why I give AI agents an ARCHITECTURE.md file before asking them to write code.
Learn how to model list selection in SwiftUI without leaking navigation, domain identity, or behavior into the wrong place.
Learn unidirectional data flow in SwiftUI with view intents, use case outputs, ViewModel state, and flow-owned navigation.
Learn architecture decisions to avoid in new SwiftUI apps, from global state to over-abstracted networking and hidden dependencies.
Learn common SwiftUI MVVM mistakes and how to keep ViewModels focused, testable, and easy to compose.
Learn the composition root in pure SwiftUI apps using @main App, factories, observable object ownership, NavigationStack, previews, and environment tradeoffs.
Learn clean MVVM in SwiftUI using use cases, view models, adapters, and composition root wiring.