Skip to content

Glossary: SwiftUI

#Preview

Also written: Preview, preview

A macro that tells Xcode what view to draw in the canvas, so you see a screen update as you type without running the app.

Where the book teaches it

Related terms

canvasmacro@Previewable