Swift Defer Statements and Programming with Emojis (CartoonSmart Video Tutorial Podcast Episode 23)
134 views · Published 20 May 2016 · 18:08 · Indexed 27 October 2026
Channel: cartoonsmart · 2016 · Education
Time to learn about defer statements! This chunk of code runs in functions marked with the throws option, regardless of whether or not an error occurs. Heck , here's what the official docs say... Use defer to write a block of code that is always executed before a function returns, regardless of whether an error was thrown. You can use defer even when there is no error handling, to simplify functions that can return from several different places. Yeah, so that. We also have some fun programming with emojis! 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
More from this channel
-
8:06
Flash drawing basics part 2
-
7:29
CartoonSmart Actionscript 3 Basics Tutorial Part 3 of 8
-
10:00
CartoonSmart Actionscript 3 Basics Tutorial Part 5 of 8
-
10:00
CartoonSmart Actionscript 3 Basics Tutorial Part 6 of 8
-
10:01
iPhone/iPad Basics Tutorial Part 03 of 12
-
10:01
iPhone/iPad Basics Tutorial Part 06 of 12
-
8:08
iPhone/iPad Basics Tutorial Part 12 of 12
-
13:27
Animated Landscapes 4 - Adobe Flash Animation Tutorial