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.

Control Flow

This video was last updated on Apr 27 2021

Use Xcode to step through execution of your app one line at a time. Learn the different ways to step through your code.


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.

Two bugs squashed, a few more to go! In this episode, you’ll learn how to step through code after pausing a breakpoint.

func isCompleted() -> Bool {
    return completed

* Next, open **RowView.swift** and set a breakpoint on line **42**.
* Finally, change this line to the following:

if task.isCompleted() {
if task.completed {