In this Swift tutorial video we'll look at structs. We'll declare, initialize, add properties, functions, mutating functions, extensions, and show how structs are value types in Swift.
00:00 Intro
00:14 Define a struct
02:37 Struct with init()
04:33 Adding methods to structs
05:01 Mutating func
07:35 Struct extension
08:45 Structs as value types
10:41 End
Subscribe for more content, as I will be creating more tutorial and how-to videos for coding in Swift, as well as longer tutorials on building macOS apps.
If you'd like to support my work to help me improve video quality and bring more content, please consider donating to my PayPal:
https://www.paypal.com/paypalme/Swift...
Thank you for watching!
Huge thank you to the channels below for helping me get started!
Uncreated Light Press
/ @uncreatedlightpress
and
Mr. Macintosh
/ @mr.macintosh
and
The Apple Ninja
/ jessetheappleninja