Brain Candy Sale

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to
for a chance to win.
Privacy Policy

Visit our stores

    Recently Viewed clear list

    Original Essays | September 23, 2015

    Bryan Doerries: IMG Using Greek Tragedies to Comfort the Afflicted and Afflict the Comfortable

    In ancient Athens, during the fifth century BC, military service was required of all citizens. To be a citizen meant being a soldier, and vice... Continue »
    1. $18.87 Sale Hardcover add to wish list


This item may be
out of stock.

Click on the button below to search for this title in other formats.

Check for Availability
Add to Wishlist

Cocoa Programming for Mac OS X

Cocoa Programming for Mac OS X Cover


Synopses & Reviews

Publisher Comments:

The best-selling introduction to Cocoa, once again updated to cover the latest Mac programming technologies, and still enthusiastically recommended by experienced Mac OS X developers. 

“Cocoa® Programming for Mac® OS X is considered by most to be the de-facto intro-to-OS X programming text.”

—Bob Rudis, the Apple Blog


“I would highly recommend this title to anyone interested in Mac development. Even if you own the previous edition, I think you’ll find the new and revised content well worth the price.”

—Bob McCune, 

If you’re developing applications for Mac OS X, Cocoa® Programming for Mac® OS X, Fourth Edition, is the book you’ve been waiting to get your hands on. If you’re new to the Mac environment, it’s probably the book you’ve been told to read first.


Covering the bulk of what you need to know to develop full-featured applications for OS X, written in an engaging tutorial style, and thoroughly class-tested to assure clarity and accuracy, it is an invaluable resource for any Mac programmer. Specifically, Aaron Hillegass and Adam Preble introduce the two most commonly used Mac developer tools: Xcode and Instruments. They also cover the Objective-C language and the major design patterns of Cocoa. Aaron and Adam illustrate their explanations with exemplary code, written in the idioms of the Cocoa community, to show you how Mac programs should be written. After reading this book, you will know enough to understand and utilize Apple’s online documentation for your own unique needs. And you will know enough to write your own stylish code.


Updated for Mac OS X 10.6 and 10.7, this fourth edition includes coverage of Xcode 4, blocks, view-based table views, Apple’s new approach to memory management (Automatic Reference Counting), and the Mac App Store. This edition adds a new chapter on concurrency and expands coverage of Core Animation. The book now devotes a full chapter to the basics of iOS development.

About the Author

Aaron Hillegass, who worked at NeXT and Apple, now teaches popular Cocoa programming classes at Big Nerd Ranch. At NeXT, he wrote the first course on OpenStep, the predecessor to today’s Cocoa tools. This book is based on the big Nerd Ranch course and is influenced by more than a decade of work with OpenStep and Cocoa.


Adam Preble learned Cocoa programming from the first edition of this book. After too many years of professional C/C++ development, today Adam writes Mac and iOS applications at Big Nerd Ranch, where he is also a Cocoa instructor. He is frequently filling in the gaps between work and family time with pinball machine software development and countless other projects.

Table of Contents




Chapter 1: Cocoa: What Is It?

Chapter 2: Let’s Get Started

Chapter 3: Objective-C

Chapter 4: Memory Management

Chapter 5: Target/Action

Chapter 6: Helper Objects

Chapter 7: Key-Value Coding Key-Value Observing

Chapter 8: NSArrayController

Chapter 9: NSUndoManager

Chapter 10: Archiving

Chapter 11: Basic Core Data

Chapter 12: Nib Files and NSWindowController

Chapter 13: User Defaults

Chapter 14: Using Notifications

Chapter 15: Using Alert Panels

Chapter 16: Using Localization

Chapter 17: Custom Views

Chapter 18: Images and Mouse Events

Chapter 19: Keyboard Events

Chapter 20: Drawing Texts with Attributes

Chapter 21: Pasteboards and Nil-Targeted Actions

Chapter 22: Categories

Chapter 23: Drag-and-Drop

Chapter 24: NSTimer

Chapter 25: Sheets

Chapter 26: Creating NSFormatters

Chapter 27: Printing

Chapter 28: Web Services

Chapter 29: Blocks

Chapter 30: Developing for iOS

Chapter 31: View Swapping

Chapter 32: Core Data Relationships

Chapter 33: Core Animation

Chapter 34: Multithreading and NSOperationQueue

Chapter 35: Cocoa and OpenGL

Chapter 36: NSTask

Chapter 37: Distribution

Chapter 38: The End



Product Details

Addison-Wesley Professional
Programming Languages - General
Hillegass, Aa
Hillegass, Aaron
Preble, Adam
Software Engineering - Programming and Languages
Edition Description:
Trade paper
Publication Date:
9.2 x 6.9 x 1.2 in 821 gr

Related Subjects

Computers and Internet » Apple » OS X » Programming
Computers and Internet » Apple » Programming
Computers and Internet » Networking » General
Computers and Internet » Operating Systems » General
Computers and Internet » Programming » Apple Programming
Computers and Internet » Software Engineering » Object Oriented Programming
Computers and Internet » Software Engineering » Programming and Languages

Cocoa Programming for Mac OS X
0 stars - 0 reviews
$ In Stock
Product details 528 pages Addison-Wesley Professional - English 9780321774088 Reviews:
  • back to top


Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at