Episode #191

Swift 2 Optionals

8 minutes
Published on October 8, 2015
In this free episode, we take a look at a core Swift 2 feature: Optionals. Unlike Objective-C, where nil is considered a no-op, in Swift nil is specifically recognized by the compiler, which forces you to handle cases where nil might be present in a variable.

This episode uses Swift 2.0.

Want more? Subscribers can view all 505 episodes. New episodes are released regularly.

Subscribe to get access →

Source Code

View on GitHub Download Source