Artwork

内容由Justin Dike提供。所有播客内容(包括剧集、图形和播客描述)均由 Justin Dike 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Ternary Conditional Operators in Swift 2 (Episode 28)

 
分享
 

Manage episode 155049371 series 1144178
内容由Justin Dike提供。所有播客内容(包括剧集、图形和播客描述)均由 Justin Dike 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
CartoonSmart Podcast Thumbnail

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

Subscribe to this Podcast on iTunes

  continue reading

70集单集

Artwork
icon分享
 
Manage episode 155049371 series 1144178
内容由Justin Dike提供。所有播客内容(包括剧集、图形和播客描述)均由 Justin Dike 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
CartoonSmart Podcast Thumbnail

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

Subscribe to this Podcast on iTunes

  continue reading

70集单集

Alle afleveringen

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南