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 how to make your Swift code smarter with flow control and loops, and more organized with functions.

In this lesson, you’ll learn more topics in Swift that will guide you to make decisions on how to write code. The learning objectives you’ll cover in this lesson are:

  • Define the difference between classes and structs.
  • Implement classes and structs with properties and methods.
  • Use structs and classes to create reusable and efficient code.
  • Understand how variables reserve memory and how classes and structs are stored.
See forum comments
Download course materials from Github
Previous: Functions & Flow Control Quiz Next: Instruction