- Paperback: 464 pages
- Publisher: Addison-Wesley Professional; 3 edition (May 15, 2008)
- Language: English
- ISBN-10: 0321503619
- ISBN-13: 978-0321503619
- Product Dimensions: 5.5 x 0.9 x 9.5 inches
- Shipping Weight: 2.2 pounds (View shipping rates and policies)
- Average Customer Review: 198 customer reviews
- Amazon Best Sellers Rank: #1,588,700 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Cocoa Programming for Mac OS X (3rd Edition) 3rd Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Customers who viewed this item also viewed
What other items do customers buy after viewing this item?
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.
Excerpt. © Reprinted by permission. All rights reserved.
If you are developing applications for the Mac, or are hoping to do so, this book is just the resource you need. Does it cover everything you will ever want to know about programming for the Mac? Of course it doesn’t. But it does cover probably 80% of what you need to know. You can find the remaining 20%, the 20% that is unique to you, in Apple’s online documentation.
This book, then, acts as a foundation. It covers the Objective-C language and the major design patterns of Cocoa. It will also get you started with the three most commonly used developer tools: Xcode, Interface Builder, and Instruments. After reading this book, you will be able to understand and utilize Apple’s online documentation.
There is a lot of code in this book. Through that code, I will introduce you to the idioms of the Cocoa community. My hope is that by presenting exemplary code, I can help you to become not just a Cocoa developer, but a stylish Cocoa developer.
This third edition includes technologies introduced in Mac OS X 10.4 and 10.5. These include Xcode 3, Objective-C 2, Core Data, the garbage collector, and CoreAnimation.
This book is written for programmers who already know some C programming and something about objects. You are not expected to have any experience with Mac programming. It’s a hands-on book and assumes that you have access to Mac OS X and the developer tools. The developer tools are free. If you bought a shrink-wrapped copy of Mac OS X, the installer for the developer tools was on the DVD. The tools can also be downloaded from the Apple Developer Connection Web site (http://developer.apple.com/).
I have tried to make this book as useful for you as possible, if not indispensable. That said, I’d love to hear from you if you have any suggestions for improving it.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
However, IF YOU ARE THINKING ABOUT KINDLE VERSION. DONT DO IT.
The Kindle version of this book is virtually unusable. The images are simple awful (too small to be seen).
Also, the code listings are done in a proportional font (same as the text) that makes reading the code very hard. The code listings are also not separated from the rest of the book at all.
These two problems really take away from the utility of this book. Really expected more from the Big Nerd Guys.
As others have mentioned, its pretty easy to grok and recover from the typos and skipped instructions if you're already experienced in Obj-C and Cocoa programming, but I'm not so sure that would be true for anyone that's trying to use this as a starter book...which is what it's supposed to be. This used to be the "go-to" book for the first-time OSX programmer; I wouldn't recommend this until it undergoes a serious rewrite.
For anyone struggling with the deprecated OpenGL glut methods in Chapter 35...set your Deployment Target to 10.8.
Alas, this book didn't live up to my expectations. It covers all the right topics, but the programming examples are not particularly useful and it's not clear how one could extend them to other situations. Some concepts though covered are left under explained (like MVC and delegates). Key methods are thrown out list-like in places, with no obvious pointers to how or where they are to be implemented. In other cases, fancy tricks are pulled off by getting the reader to basically copy loads of code, but why or how those methods are being implemented is not really clear. If the author's weren't leading you by the hand, you'd have no idea how they came up with those solutions, and that really encapsulates the problems with the book as a whole: it demonstrates, but doesn't empower.
I do have to say that if you are a complete newcomer, then this book skips over some basics that would make it a lot more helpful. I only have a slight programming background and only do it as a off and on hobby. I have some experience with web-based languages and some VB, but that didn't really help me understand this book.
I can follow the examples, but trying to figure out how they work in the real world has been a challenge as this just shows you how to use Xcode mostly. It is also missing information on the newer technologies which actually eliminate the need to go over a couple of the sections.
Additionally, most of the information I found in this book is also available online in random places but if you don't want to have to piece things together, this book brings a nice flow to the information.
At the same time, while by no means a complete reference manual (those are on-line anyway, bundled with the developer tools), the book is very usable for the more-experienced developer. I've been programming professionally in C/C++/Java for 15 years or so, and found myself leaping ahead to advanced chapters (for example, to add a "sheet" to my growing app). This worked very well, and it's unusual for one book to work both for novice and expert, both sequentially and by random access.
The style is personal and personable. Possibly just a shade too much so: the principal flaw of the book is that Mr. Hillegass is still a bit caught up in some "object oriented" turf wars of a decade or so ago. If you want to learn to do object-oriented programming, or even what it is, this is quite the wrong place to go. And the worst of that problem is that the presentation seems to claim to be "OO" without either mentioning or demonstrating the modularity and suitability of design that are the actual roots of "OO".
Each chapter ends with "For the Curious" which goes into more depth to show you how something is working under the hood.
I recommend this book to any beginning Cocoa programmer and also recommend it as a good reference to freshen up knowledge in a functional area.