Player FM ऐप के साथ ऑफ़लाइन जाएं!
Ternary Conditional Operators in Swift 2 (Episode 28)
Manage episode 155049371 series 1144178
Ternary Conditional Operators in Swift 2.2 (CartoonSmart Video Tutorial Podcast 28)
Watch Fullscreen
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 variable.
This video is from CartoonSmart’s Video Tutorial Podcast, so keep in mind, this is partly just for fun. We keep things light. Subscribe to our podcast on iTunes or through your favorite RSS reader at Cartoonsmart.com/podcasts or check out our more serious tutorials by visiting the main page at CartoonSmart.com
Hosts: Justin Dike, Clevon O’Doul
70 एपिसोडस
Manage episode 155049371 series 1144178
Ternary Conditional Operators in Swift 2.2 (CartoonSmart Video Tutorial Podcast 28)
Watch Fullscreen
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 variable.
This video is from CartoonSmart’s Video Tutorial Podcast, so keep in mind, this is partly just for fun. We keep things light. Subscribe to our podcast on iTunes or through your favorite RSS reader at Cartoonsmart.com/podcasts or check out our more serious tutorials by visiting the main page at CartoonSmart.com
Hosts: Justin Dike, Clevon O’Doul
70 एपिसोडस
Semua episode
×प्लेयर एफएम में आपका स्वागत है!
प्लेयर एफएम वेब को स्कैन कर रहा है उच्च गुणवत्ता वाले पॉडकास्ट आप के आनंद लेंने के लिए अभी। यह सबसे अच्छा पॉडकास्ट एप्प है और यह Android, iPhone और वेब पर काम करता है। उपकरणों में सदस्यता को सिंक करने के लिए साइनअप करें।