Xcode adds Live Design Previews with generative style suggestions

Design ยท 3 min read

Xcode adds Live Design Previews with generative style suggestions

Xcode's new Live Design Previews let developers and designers keep a real-time canvas of running UI alongside suggested style improvements. When the preview detects contrast, spacing, or alignment issues it can propose alternate palettes, typographic scales, or layout adjustments, and generate SwiftUI code diffs that apply the fix automatically.

The suggestions are powered by a local inference engine so previews remain fast and private, and they include an accessibility grading overlay with actionable fixes for VoiceOver and dynamic type. Teams can lock certain suggestions or push them into review, making the system fit into existing design-review workflows.

Early feedback from developer betas noted that autogenerated patches speed up iteration, especially for teams refactoring legacy UIKit code into SwiftUI. Design teams will appreciate the tighter loop between visual exploration and production-ready code changes.