Skip to Content
iPhone App Development: The Missing Manual
book

iPhone App Development: The Missing Manual

by Craig Hockenberry
May 2010
Beginner
352 pages
9h 44m
English
O'Reilly Media, Inc.
Content preview from iPhone App Development: The Missing Manual

Chapter 3. Cocoa Touch: Putting Objective-C to Work

Now that you've gotten a taste of Objective-C, it's time to put the language to work. If you think of Objective-C as the glue for building applications, you're now going to explore the building blocks—parts of the Cocoa Touch frameworks—that get pieced together with your new adhesive.

Before you start gluing the components of the Cocoa Touch frameworks together, you'll need to learn a bit about the architecture and design patterns recommended by Apple's engineers. Just as knowing how the correct building materials work together helps to build a house, a good working knowledge of the frameworks lets you build more robust applications and save time.

You'll also learn where to look for more information about Cocoa Touch. Plenty of resources on the Web and in your favorite bookstore can help you improve your iPhone development skills.

Get in Cocoa Touch

The Cocoa Touch frameworks are extensive, and hundreds of classes are at your disposal. Learning how to use this rich collection of components takes time. The best way to approach this Herculean task is to learn the common design patterns and functions implemented by the frameworks.

In the following sections, you'll see how Cocoa Touch uses models, views, and controllers (MVC) to implement your application. You'll also see how to use a target-action design pattern to hook the visual components to the code that does the actual work. In the process, you'll see how delegation is a powerful ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning iPhone Development with SwiftUI: Exploring the iOS SDK

Beginning iPhone Development with SwiftUI: Exploring the iOS SDK

Wally Wang

Publisher Resources

ISBN: 9780596809997Errata Page