Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Swift: Optionals

via Codecademy

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Handle values that might be absent using optionals.
Continue your Swift learning journey with Learn Swift: Optionals. Sometimes when we work with data, we find that information is missing. Handle values that might be absent by learning how to use optionals.



### Skills you’ll gain
* Handle data that might be `nil` with optionals.
* Bind optionals using `if let` and `guard` statements.
* Define functions that take in and return optionals.

### Notes on prerequisites
We recommend that you complete [Learn Swift: Enumerations](https://www.codecademy.com/learn/learn-swift-enumerations) before starting this course.

Syllabus

  • Optionals: Learn how to use optionals to handle data that might be nil.
    • Lesson: Optionals
    • Quiz: Optionals
    • Project: School Database
    • Informational: Next Steps

Taught by

Nitya Mandyam

Reviews

4 rating at Codecademy based on 5 ratings

Start your review of Learn Swift: Optionals

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.