Hour 6. Understanding Optional Values

What You’ll Learn in This Hour:

Image What are optional values

Image Why optionals were introduced in Swift

Image How optionals assist with type safety

Image How to declare a variable as optional

Image What nil values are, and how to handle ...

Get Swift in 24 Hours, Sams Teach Yourself, Second Edition 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.