Chapter 4. Optionals

Topics in This Chapter

Image 4.1 Optionals and nil

Image 4.2 Validity Checking, Optional Binding, and Forced Unwrapping

Image 4.3 Optional Chaining

Image 4.4 Implicitly Unwrapped Optionals

Image Exercises

In Swift you can use optionals to represent data that ...

Get Swift for the Really Impatient now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.