Swift Value Types. Structs Vs Classes

Swift Value Types. Structs Vs Classes

Swift Value Types. Structs Vs Classes

Created by iOSBFree. Understanding the behaviour of value and reference types in iOS written in Swift. For beginners.

Language: english

Note: 4.9/5 (14 notes) 899 students

Instructor(s): Matt Harding (iOS Consultant)

Last update: 2022-02-02

What you’ll learn

  • Understand reference types
  • Understand value types
  • Learn about the memory system
  • Understand the behaviour of these types and how to use them



  • Basic understanding of iOS



Learn From One Of The 1st iOS Developers In The World

Our instructor Matt, has 13 years of experience in iOS and created the world’s first iPhone, iPad and Apple Watch apps. Now, he dedicates his time to recording courses for iOSBFree (pronounced “iOS Be Free”).

In This Course

1. We discuss value & reference types and how they exhibit different behaviour. Reference types are instances of classes (objects) and value types refer to basic data types such as an Int, Double, String or a Struct (copied values stored in memory).

2. We write code in an Xcode Playground to test the behaviour of struct and class singletons. We learn the differences in memory management and explain some architectural principles we might be breaking.

Learning Objectives

· What is a value type
· What is a reference type
· The behaviour of a struct
· The behaviour of a class

Sample Code

Sample Code Is Always Included and attached to each video. You can download the same project used in each episode of the course.

This Course Is Free

This course is free. We aim to publish as many short courses as we can to help new iOS Developers apply for jobs in iOS and enter a high paying profession. We want those developers to write great apps that are robust, work correctly, and are maintainable. By supplying this information for free we hope we can reach as many people studying in the pandemic as we can.

Our Service (iOSBFree Ltd)

We are a unique career-building service sharing over 13 years of successful experience shaping the iOS industry into what it is today. Our unique information, point-of-view and service can be utilised to build highly successful and profitable careers in iOS.

A Career In iOS

iOS developers are the most sought after developers in the world! They can earn over £100,000 per year, work remotely and B in high demand for their skills! Subscribe to our YouTube channel and let us reveal all our insider secrets completely for free.

What We Teach

Career building, CV writing, interviewing skills, industry secrets, industry stories, real-life experience, iOS fundamentals, ARC memory management, Swift, architecture and best engineering practices.

Please show your support by enrolling in our course!

What Is SwiftUI?

SwiftUI is a newly released UI Framework introduced to iOS. It aims to solve a lot of problems with apps, such as running on all platforms, reducing bugs, improving stability and bringing more developers to iOS – because it’s easier to write apps!

Learning SwiftUI is an absolute must for any iOS developer looking to develop a career over the next 5 years.

The Instructor

Check out our Instructor profile (just briefly) and glance over Matt’s incredible unparalleled experience. After 13 years of specialising in iOS, he created a company helping people build their own successful and profitable careers in iOS too.

Our unique information cannot be found anywhere else on any platform. We not only teach code, syntax and architecture but we provide tried & tested strategies to boost your career forwards and build a better life!

Want To Learn More Topics?

Please send us an email with the topic you would like to learn in a swift playground and we will happily record, edit and publish it for you. Absolutely for free. Simply email [email protected] with the subject heading, “Topic I Want To Learn”.

First In The World

Not only is our instructor one of the first iOS developers in the world, but our service is also the first of its kind in the world!
iOSBFree is a truly unique one-of-a-kind service. There is no single other service offering Matt’s level of experience in any other coding course, software engineering tutorial, or career-building service anywhere in the world.

More From iOSBFree

· Download Our FREE CV Template

· Download Our Career BOOSTER Pack

· Enrol In FREE Online Courses (iOS & Swift)

· Read Our Blog

Much love.
The iOSBFree team.
Build a profitable iOS career with iOSBFree!


Who this course is for

  • Any one who wants to learn iOS


Course content

  • Welcome
    • This Course
    • Download Sample Code
    • Free Online Courses
    • Free Stuff On iOSBFree.com
  • Value Types
    • Introducing Value Types
    • Value Types As Parameters
    • Mutating Functions
  • Reference Types
    • Introducing Reference Types
    • Reference Types As Parameters
    • No Mutating Functions


Swift Value Types. Structs Vs ClassesSwift Value Types. Structs Vs Classes


Don’t miss any coupons by joining our Telegram group 

Udemy Coupon Code 100% off | Udemy Free Course | Udemy offer | Course with certificate