Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Nil Coalescing Operator5:34 with Pasan Premaratne
In most cases, custom operators just add to the syntax overhead of the language but a useful one in Swift is the nil coalescing operator. This operator makes it much easier to provide default values in case an optional value is nil.