A new feature of Xcode 11, SwiftUI Previews, provides visualization and seamless editing of SwiftUI views in various environments without recompiling or re-running the application.

In this blog, we look under the hood of Previews and discuss the added language features that made it possible.