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

Follow me on Twitter (Feel free to tweet me questions!)

Join the Cognitive Surge Subreddit

Follow me on Instagram

Follow me on Goodreads