Additions to C

Because Objective-C is an extension of the C language, you can use everything you know about C when programming in Objective-C. Parts of the C language are used less often in Objective-C, but they are all still available to anyone who wants to use them. On top of the C language, Objective-C adds a few new types, several keywords, and some new idioms. It is designed to be simple yet powerful. Because of this, it is easy to learn the key points in just a few minutes, if you already know the C language and have a basic understanding of object-oriented concepts.

The principal new idiom that Objective-C adds to C is the concept of messaging between objects. Objective-C includes the language elements needed to declare objects, specify ...

Get Cocoa® Programming 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.