Optional?
You might have overheard Swift developers talk about how great Optionals
are. Optionals are a foundational feature of Swift, and once you know how
to use them, you probably wouldn’t even want to work with a language that
doesn’t support it. If you’ve ever had your app crash because your code
allowed nil to be inserted into a NSDictionary or had text in a UILabel
show up as (null) or anything else bad caused by nil, you’ll love optionals
even more.
Let’s start with a small example. (I r