Introduction

If you want to develop native apps for OS X or for iOS, the language in which you write them is Objective-C. (You can write web-based apps using Safari extensions and HTML5.)

Because Apple’s development environment builds on the frameworks of Cocoa and Cocoa Touch, what you have to write is the code that is specific to your own app. All the basic functionality is provided by Cocoa and the frameworks; you do not have to write any code to manage menus, for example (in most cases), and you don’t have to worry about implementing complex view structures on iOS such as navigation bars and split views. The code that you write is very specific code that fits into the existing frameworks. It might be code that overrides or extends an existing ...

Get Sams Teach Yourself Objective-C in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.