Table 2.2 summarizes the syntax specifics of the Objective-C elements that we’ve been discussing. This table can serve as a quick reference whenever you want to revisit how Objective-C code works differently from traditional C.
Table 2.2 Objective-C uses many typical object-oriented coding elements, but its syntax is somewhat unique.
And with that, we’ve completed our look at the syntax and structure of the Objective-C programming language. But that’s only half of the foundation you need in order to use the SDK. You also need to be familiar with the specific methods and programming styles provided by iOS’s extensive set of frameworks.
Summary
Objective-C is your programming language for creating iOS applications. It’s an object-oriented version of C that has some unique syntax thanks to its elegant Smalltalk inspiration. After you get used to it, you’ll find it simple and easy to read.
Now that we’ve completed our Objective-C primer, let’s dive into putting Objective-C to use in Xcode 4 in topic 3.