Get immediate access to this and over 1,500+ other videos and books.

Boost your skills with a Beginner subscription. With over 60+ video courses and our core foundational programming books bundled in one subscription, it’s simply the best investment you can make in your development career.

SwiftUI View Debugging

This video was last updated on Apr 27 2021

Learn how to use Debug Previews to debug SwiftUI code using Previews instead of relying on a simulator or device.


Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a Professional subscription.

Our app is almost bug free, only two more remain. In the previous episode you saw how to debug your views when running your application on a simulator or physical device.

if task.completed == false {
let checkmark = Image(systemName: "checkmark")
if task.completed {