Start reading Cocoa® Programming for Mac® OS X, (3rd Edition) on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Cocoa® Programming for Mac® OS X, (3rd Edition)
 
 

Cocoa® Programming for Mac® OS X, (3rd Edition) [Kindle Edition]

Aaron Hillegass
4.2 out of 5 stars  See all reviews (68 customer reviews)

Digital List Price: $39.99 What's this?
Print List Price: $49.99
Kindle Price: $21.99 includes free wireless delivery via Amazon Whispernet
You Save: $28.00 (56%)

Formats

Amazon Price New from Used from
Kindle Edition $21.99  
Paperback $29.44  


Editorial Reviews

Product Description

This is the eBook version of the printed book.

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.

 

“Aaron’s book is the gold standard for Mac OS X programming books—beautifully written, and thoughtfully sculpted. The best book on Leopard development.”

—Scott Stevenson, www.theocacao.com

 

“This is the first book I’d recommend for anyone wanting to learn Cocoa from scratch. Aaron’s one of the few (perhaps only) full-time professional Cocoa instructors, and his teaching experience shows in the book.”

—Tim Burks, software developer and creator of the Nu programming language, www.programming.nu

 

“If you’re a UNIX or Windows developer who picked up a Mac OS X machine recently in hopes of developing new apps or porting your apps to Mac users, this book should be strongly considered as one of your essential reference and training tomes.”

—Kevin H. Spencer, Apple Certified Technical Coordinator

 

If you’re developing applications for Mac OS X, Cocoa® Programming for Mac® OS X, Third 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 introduces the three most commonly used Mac developer tools: Xcode, Interface Builder, and Instruments. He also covers the Objective-C language and the major design patterns of Cocoa. Aaron illustrates his 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.4 and 10.5, this revised edition includes coverage of Xcode 3, Objective-C 2, Core Data, the garbage collector, and CoreAnimation.

About the Author

Aaron Hillegas runs Big Nerd Ranch, well-known for its popular Cocoa programming classes. Previously, he was a developer at NeXT and Apple. At Next, he wrote the first course on OpenStep, the predecessor to today's Cocoa tools. At Apple, he created and taught courses in Cocoa directly for and to Apple engineers. This book is based on Aaron's Big Nerd Ranch course and is influenced by 15 years of work with OpenStep and Cocoa.

Product Details

  • Format: Kindle Edition
  • File Size: 11318 KB
  • Print Length: 464 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Addison-Wesley Professional; 3 edition (May 5, 2008)
  • Sold by: Amazon Digital Services
  • Language: English
  • ASIN: B00139XSRO
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (68 customer reviews)
  • Amazon Best Sellers Rank: #65,848 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


 

Customer Reviews

68 Reviews
5 star:
 (42)
4 star:
 (13)
3 star:
 (3)
2 star:
 (5)
1 star:
 (5)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (68 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

19 of 21 people found the following review helpful:
3.0 out of 5 stars Strange and Difficult, June 12, 2010
By 
J. Matters (Los Angeles, CA) - See all my reviews
(REAL NAME)   
I did a lot of research before buying this book, and the overwhelming accolades seemed to assure me that my [...] bucks would be money well-spent. Personally, I feel very let down by it. The way the author jumps into code without explanation, routinely giving you half a page of calls with absolutely zero previous discussion of what they do or where they come from, is both baffling and frustrating.

Most of the exercises are conducted with a tone along the lines of "Just do what I tell you and it'll make sense later," which doesn't suit my learning style.

Much of the book is focused on multi-chapter projects, which can be problematic for someone who has a project in mind and simply wants to learn how different aspects of Cocoa work.

Also, the text really fails at answering any questions you might have about anything. Seriously, if you have a question in your head, you will never find the answer unless you muddle through the assignment. The book has a tendency to never talk about anything in particular with any depth, and only explains things in as much as they apply to the current example.

For future editions, here are some recommendations:

1) When you introduce a new object, give us a list of methods near the beginning of the chapter, so we aren't constantly guessing what you're talking about. There are times when every new line of code feels like a surprise.

2) Cover some basic things that actual people want to know. Here's a big one: "How do I open and parse a file?"

3) Take it easy on the line drawings. They sometimes make things seem a lot more complex than they actually are.

4) The cavalier handling of Bindings is often infuriating. I've re-read sections literally a dozen times without figuring out why things are bound to this thing instead of that.

Anyway, that's just my two cents. This book is decent, and it will tell you how to do a LOT of things, but you really have to earn it. It's a textbook, and it expects you to follow a course from beginning to end. If you're not willing to do that, you really shouldn't pick up this book, as it will drive you nuts.

Also, once it starts getting into writing code, you have to be patient enough to roll with it when you're confused. For me, the book left so many unanswered questions while I was working through it that I was almost perpetually filled with angst over things. I'd rather learn one thing at a time, learn it well, and move on to another thing.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


20 of 23 people found the following review helpful:
5.0 out of 5 stars OS X developer must have, October 6, 2008
If you plan to write for Mac OS X, and have some programming experience, this book is a MUST HAVE. This is by far the best introductory book I have ever read on any language.

If you DO NOT have programming experience, I would still recommend this book. There are some spots where the logic might be hard to grasp, but Aaron Hillegass walks you through it.

In either case, but more so for beginners, I would also recommend Programming in Objective-C (Developer's Library). The less experience you have, the more strongly I would suggest reading this book first. It will walk you through the basics of straight Objective-C and then start you off using frameworks in OS X. If you are a Windows user and do not have a Mac, Programming in Objective-C (Developer's Library) will show you how to write and compile Objective-C in Windows.
(Look for the new version of this book which uses Objective-C 2.0)

I come from Windows development, having programmed in VB 6, VB.NET, C (and variants), and java. Aaron Hillegass takes you right into the heart of the Mac OS X development environment and gives you a guided tour. Showing you the basics of both Cocoa and the X Code development environment. Pick the book up and you won't regret it. This is a walkthrough tutorial style book. It is not a reference book. Apples online documentation is the best reference for Cocoa.

There are a lot of resources out there for Cocoa programmers. If you are looking for more help with Cocoa, check out the free podcasts that are available on iTunes. "CocoaCast" is a 'screen cast' that actually follows this book and may help you if you have trouble. Other podcasts that i find easy to listen to come from the Mac Developer Network such as "Late Night Cocoa" and "The Mac Developer Roundtable". They also have a great community that you can join by visiting www.mac-developer-network.com. They have video classes on some great topics which are very helpful.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


15 of 17 people found the following review helpful:
5.0 out of 5 stars Great first book on Cocoa, May 20, 2008
By 
Amazon Verified Purchase(What's this?)
This is the book I have been waiting for!

I am a recent convert to Macs. Ever since I fell in love with my Mac (now two Macs actually), I have yearning to do some experimental application development on it. I should also add that I have extensive programming experience on Windows.

Anyway, I downloaded Xcode, went to numerous websites, saw YouTube video all to try and understand how to create apps for the Mac. Yes, I was able to create an application with some buttons on it that updated a text box. But anything beyond that just didn't make any sense.

Then I ordered this book. I had to wait a couple months as it hadn't been released yet. But boy, was it worth the wait. I got so into the book, I ended up doing a semi-cursory pass of the entire book in about 2 hours. Then I went through the chapters again, reading chapters in-depth and experimented with the code side-by-side. I am happy to say - I finally get it. There are still questions I have, but I feel that I have a much better shot of finding answers in Apple's documentation as well as the numerous Cocoa-related websites.

Note that while the book does teach you the basics of Objective-C, it's not meant to be a complete reference. But between what I read in the book, Wikipedia and Apple's excellent introduction to Objective-C 2.0 PDF, you should be all set.

To summarize, just order this book if you are new to the world of Mac programming but still don't "get it". You will be glad you did.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



More About the Author

Aaron Hillegass worked at NeXT and then Apple before creating Big Nerd Ranch, a training and consulting company that specializes in Mac, iPhone, and Open Source technologies.

He lives in Atlanta, where Big Nerd Ranch teaches most of its classes. These classes have led to the creation of a series of books: The Big Nerd Ranch Guides. These books follow a consistent style that features a hands-on approach and a clear and conversational tone.

What Other Items Do Customers Buy After Viewing This Item?


Popular Highlights

 (What's this?)
&quote;
Objects created by alloc, new, copy, or mutableCopy have a retain count of 1 and are not in the autorelease pool. If you get an object by any other method, assume that it has a retain count of 1 and is in the autorelease pool. If you do not wish it to be deallocated with the current autorelease pool, you must retain it. &quote;
Highlighted by 46 Kindle users
&quote;
Instance variables that are pointers to other objects are called outlets. Methods that can be triggered by user interface objects are called actions. &quote;
Highlighted by 37 Kindle users
&quote;
To make the debugger stop whenever an exception is thrown, you will want to add a symbolic breakpoint. Any breakpoint for which you don't have a line number is a symbolic breakpoint. &quote;
Highlighted by 37 Kindle users

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
Kindle Edition? 3 May 25, 2010
Changes from previous version? 2 Aug 24, 2009
Why is this linked from the 3rd edition paperback? 2 Jun 5, 2008
See all 3 discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums




Look for Similar Items by Category


Look for Similar Items by Subject