Reference vs Value Type

Difficulty: Advanced
Duration: 9 minutes and 9 seconds
Students: 42

This lesson focuses on advanced techniques in Swift. You'll be introduced to structs and how we can use them in our code.

Learning Objectives

  • Learn what a struct is and why they are necessary for projects in Swift
  • Learn how to create a struct
  • Understand the difference between reference type and value type
  • Learn about mutating functions, tuples, guard lets, switch cases, and breakpoints, and how to use them

Intended Audience

This lesson is intended for anyone who wants to learn how to develop apps on iOS.

Prerequisites

To get the most out of this lesson, some basic knowledge of iOS development would be beneficial. We recommend that you take this lesson as part of the Developing Mobile Apps for iOS course.

Covered Topics