Enumerations and Optionals in Swift
Heads up! This course may be archived and/or unavailable.
Two of Swift’s most novel features over Objective-C are the extended power of enumerations and the language features to deal with nil values. In this course we’re going to start by exploring enumerations in Swift - how they can define a set of related values, how they can carry associated values and how they make our code much safer by bringing in some wonderful compiler support. After that we take a look at optionals and dealing with nil values. Working with optionals can get pretty confusing so we understand why we do this in the first place and how we can unwrap the values when we need them.
What you'll learn- Enumerations
- Associated Values
- Optionals
- Unwrapping Optionals
- Optional Chaining
- Pattern Matching
Get a Reminder
Rating | Not enough ratings |
---|---|
Length | 145-minute iOS Course |
Starts | On Demand (Start anytime) |
Cost | $25/month (Access to entire library- free trial available) |
From | Treehouse |
Instructor | Pasan Premaratne |
Download Videos | Only via web browser |
Language | English |
Subjects | Programming |
Tags | iOS |
Get a Reminder
Similar Courses
Careers
An overview of related careers and their average salaries in the US. Bars indicate income percentile.
Instructor, Human Values in Medicine $44k
Instructor, Human Values in Medicine $44k
Assistant Features Writer $45k
Associate Features Writer $49k
Entertainment & Features Editor $50k
Freelance Features Designer $50k
Contributing Features Writer $56k
Features and Entertainment Reporter $61k
Managing editor-features $62k
Managing editor, features $87k
Editor, Features & Analysis $106k
Partner, Values-Based Leadership, TPSD and Alumni Affairs $193k
Write a review
Your opinion matters. Tell us what you think.
Please login to leave a review
Rating | Not enough ratings |
---|---|
Length | 145-minute iOS Course |
Starts | On Demand (Start anytime) |
Cost | $25/month (Access to entire library- free trial available) |
From | Treehouse |
Instructor | Pasan Premaratne |
Download Videos | Only via web browser |
Language | English |
Subjects | Programming |
Tags | iOS |
Similar Courses
Sorted by relevance
Like this course?
Here's what to do next:
- Save this course for later
- Get more details from the course provider
- Enroll in this course