0Pricing
SwiftUI Academy · Lesson

The Live Preview Canvas

Use Xcode previews to see UI changes instantly.

Meet the Canvas

Beside your code, Xcode shows a canvas that renders your view live. You see your UI without ever building and launching the full app. 👀

Show or Hide It

If the canvas is missing, open the Editor menu and turn on Canvas. It appears on the right, next to your Swift code.

All lessons in this course

  1. Installing Xcode & Creating a Project
  2. Anatomy of a SwiftUI App File
  3. The Live Preview Canvas
  4. Running on Simulator & Device
← Back to SwiftUI Academy