Chapter 2. Learning Objective-C

 

This chapter covers
  • Introducing Objective-C
  • Using messages
  • Implementing classes
  • Setting properties
  • Learning categories and protocols

 

In this chapter, we’ll examine all of the Objective-C elements that are applicable to iOS development. We assume that you have a good understanding of a rigorous programming language (like C), that you know the basic concepts behind object-oriented programming (OOP), and that you understand what the Model-View-Controller (MVC) architectural model is.

We’re now ready to move into the world of SDK development. We’ll take a quick tour to examine the programming language and frameworks you’ll be using when you program with the SDK.

2.1. Introducing Objective-C

All of the SDK’s ...

Get iOS 4 in Action 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.