Skip to content
Nil Coalescing Operators with Swift  (Episode 29) episode artwork

May 26, 2016

Nil Coalescing Operators with Swift (Episode 29)

from CartoonSmart Tutorials Hosted by Justin

In this Swift video tutorial, we'll talk about nil coalescing operators. This operator, defined by two question marks ( ?? ), allows you to quickly set a variable equal to a default value if another variable is nil. For example, let someVar = varThatMightBeNil ?? defaultAmount

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Nil Coalescing Operators with Swift (Episode 29)

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

When was this CartoonSmart Tutorials episode published?

This episode was published on May 26, 2016.

Can I download this CartoonSmart Tutorials episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.