In the previous article I talked about structures so I only thought it was right to follow that up with…
In this article I will be discussing Structs in Swift.
Structs
Classes and structures are general-purpose, flexible constructs that become the building blocks of your program’s code. You define properties and methods to add functionality to your classes and…
Just in case you missed part 1.
Optionals are basically a way to say “This may or may not have a value”.
A lot of newbies are unsure of what optionals are and how they work so I’ll hopefully try to explain this in an easy way to understand.