Skip to content
Ternary Conditional Operators in Swift 2 (Episode 28) episode artwork

May 24, 2016

Ternary Conditional Operators in Swift 2 (Episode 28)

from CartoonSmart Tutorials Hosted by Justin

Ternary Conditional Operators in Swift 2.2 (CartoonSmart Video Tutorial Podcast 28) This video tutorial we’ll talk about how to shorthand some if…else statements with the ternary conditional operators. With a bool variable you can quickly make a value equal something based on two conditions. For example… let someVar = question ? answer1 : answer2 , where question is a bool […]

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Ternary Conditional Operators in Swift 2 (Episode 28)

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 24, 2016.

Can I download this CartoonSmart Tutorials episode?

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