Siirry offline-tilaan Player FM avulla!
Nil Coalescing Operators with Swift (Episode 29)
Manage episode 155049370 series 1144178
Nil Coalescing Operators with Swift (CartoonSmart Video Tutorial Podcast 29)
Watch Fullscreen
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
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 jaksoa
Manage episode 155049370 series 1144178
Nil Coalescing Operators with Swift (CartoonSmart Video Tutorial Podcast 29)
Watch Fullscreen
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
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 jaksoa
Kaikki jaksot
×Tervetuloa Player FM:n!
Player FM skannaa verkkoa löytääkseen korkealaatuisia podcasteja, joista voit nauttia juuri nyt. Se on paras podcast-sovellus ja toimii Androidilla, iPhonela, ja verkossa. Rekisteröidy sykronoidaksesi tilaukset laitteiden välillä.