SwiftUI gets adaptive layout engine and visual style tokens in Xcode update
Design · 4 min read
The latest SwiftUI release introduces an adaptive layout engine that automatically composes layouts based on device class, orientation and available surface, reducing the need for manual size-class logic. New layout primitives like FlowStack and GridPartition make building complex responsive components far simpler.
Apple also added a native design token system in Xcode: color, typography and spacing tokens can be defined, versioned and shared across apps via CloudKit-backed asset catalogs. Tokens are accessible at runtime and support theme variants and dynamic accessibility scaling.
For product and UX teams, the result is fewer one-off breakpoints and better runtime consistency. The update includes a visual token editor in Xcode and a shared JSON export format so design systems can interoperate with third-party tooling and web teams.