Introduction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In the last lesson, you learned some basics of Swift. You defined variables and constants. You explored some basic data types and learned differences between them. You used strings and changed their properties.

In this lesson, you’ll learn about flow control and how to make your app do different things based on different conditions. You’ll understand loops and how to make some code repeat without typing it multiple times. You’ll learn about functions and how they help you organize pieces of code.

You’ll cover the following learning objectives:

  • Define and implement functions in Swift.
  • Use conditional statements and loops to control the flow of your Swift code.
  • Solve an easy coding problem.
See forum comments
Download course materials from Github
Previous: Swift Basics Quiz Next: Flow Control