LearnThe Beginner’s Guide to Objective-C: Language and Variables

Perhaps my own experience with the Objective-C programming language will sound familiar to you. I grew up in a world of dots, semicolons, and curly braces that are known around the programming world as the familiar syntax of JavaScript, Java, C#, and many other programming languages. “Objective-C can’t be that hard” I thought. And then I looked at my first Objective-C code and I thought, “What is this hot mess? WHY ARE THERE SO MANY SQUARE BRACKETS?” Okay, let’s step back a moment. Spoiler alert: It isn’t that hard to learn Objective-C (and I’ve grown to love it). It is the main programming language used to write apps for the iPhone and iPad, and it is incredibly flexible and powerful and is actually very similar in many ways to other more popular programming languages.

Source: TIOBE Programming Community Index for August 2013 - http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Source: TIOBE Programming Community Index for
August 2013 – http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Despite my initial fears, I read some documentation, looked at some code, tried out my own, and asked smart people silly questions. But it brought me back to an enlightened viewpoint that is sometimes easy to forget: “Language doesn’t matter.” In programming, the language we use is just the syntax, just the details about how we want to control the computer. The concepts of what we are actually doing: loops, conditionals, using variables, etc., are all the same from one language to the next. When learning a different language we just need to learn the specific words and symbols we need to use to command the machine. All that aside, Objective-C is a great first language to learn, too. Below you will find a guide for getting started with Objective-C for iOS development which will help as a learning aid for how to program in Objective-C or as a quick reference if you already know another language.