> loading /blog/swiftui-production-tips...
SwiftUI in Production: What Survives App Store Review
By First Data Team, Engineering & Product
Navigation, state, accessibility, and performance patterns from shipped iOS apps.
SwiftUI accelerates UI work, but production apps need explicit architecture. We standardize on MVVM with @Observable (or ObservableObject) view models injected via environment or factory.
##Navigation that scales
Typed navigation paths with NavigationStack, deep links and push payloads validated at the router, not in individual views.
##Accessibility is not optional
Every interactive control gets accessibilityLabel and accessibilityHint in both supported languages before TestFlight. VoiceOver order follows visual RTL/LTR flow.
##Performance on real devices
Profile with Instruments before claiming smooth lists. LazyVStack for long feeds, equatable view wrappers where diffing matters, and image downsampling for thumbnails.