300+ free video programming tutorials ― Learn for free!

Objective-C Tutorial - #8 - Are Curly Braces Optional?

Category: Objective-C - Author: Karl Hadwen

Home > Objective-C > Objective-C Tutorial - #8 - Are Curly Braces Optional?

Did you find this video helpful? If so, why not subscribe!? ? http://bit.ly/CognitiveSurge

Are curly braces optional? Do we need to use them? Well we don't but for more than 1 line statements we do. If we don't use curly braces we'll see that the second statement in our code block always gets executed.

Like the Cognitive Surge Facebook page
https://www.facebook.com/cognitivesurge

Follow me on Twitter (Feel free to tweet me questions!)
https://twitter.com/karlhadwen

Join the Cognitive Surge Subreddit
https://www.reddit.com/r/CognitiveSurge

Follow me on Instagram
https://instagram.com/karlhadwen

Follow me on Goodreads
https://goodreads.com/karlhadwen