You’ve made it to the end of the tenth part of this series, so let’s summarize:
if letor using
nilyour code will crash.
try?to convert a throwing function into an optional return value, or
try!to crash if an error is thrown.
init?()to make a failable initializer.
Get the ultimate experience
The Swift Power Pack includes my first six books for one low price, helping you jumpstart a new career in iOS development – check it out!