Objective-C Overview

Objective-C is a small, elegant, object-oriented extension to the C language. Strictly speaking, it is a superset of C. You can freely use any valid C code in an Objective-C project. This gives us access to a vast number of third-party libraries, in addition to the Objecitve-C and C frameworks already provided by Apple. This also allows us to switch freely between programming paradigms. We can use object-oriented code (decomposing the problem into objects and methods) in one section, and C-style procedural approach (breaking the program into variables, structures, and functions) in another, using the style that best suits the problem at hand.

Objective-C borrows much of its object syntax from Smalltalk. Smalltalk was one ...

Get Objective-C Boot Camp: Foundation and Patterns for iOS Development 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.