Test Your Knowledge: Swift - Optional Chaining
Summary
Test on optional chaining to safely return a nil or non-nil value from a series of optionals chained together.
Take the Test
|
Start the Test:
Swift - Optional Chaining
|
Read the Article
|
Go to Article:
Swift - Optional Chaining
|
Review Answers for Questions in this Test
|
|
|
Bookmark and Share This
|
|
More Articles With Similar Tags
|
This article talks about optional chaining in swift where multiple optionals can be chained together and fail gracefully by returning nil when one of them is nil.
|
This article talks about unwrapping the optionals in Swift implicitly and the circumstances where you would use this functionality.
|
This article discusses the safer ways of unwrapping an optional in Swift that includes Optional Binding.
|
This article talks about the Nil Coalescing Operator (??) in Swift.
|
Summary of three operators (?, !, ??) used in optionals in Swift.
|
|
|