Cocoa(R) Programming for Mac(R) OS X (2nd Edition)

Cocoa(R) Programming for Mac(R) OS X (2nd Edition)
by Aaron Hillegass

Cocoa(R) Programming for Mac(R) OS X (2nd Edition)
List Price: $49.99
Our Price: $8.68
You Save: $41.31 (83%)
Availability: Usually ships in 1-2 business days
Buy Used: from $0.01 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Aaron Hillegass
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2004-05-10
ISBN: 0321213149
Number of pages: 480
Publisher: Addison-Wesley Professional

Book Reviews of Cocoa(R) Programming for Mac(R) OS X (2nd Edition)

Book Review: THE BOOK Introducing Mac OS X Programming
Summary: 5 Stars

Aaaron Hillegass' book, Cocoa Programming For Mac OS X (second edition) is THE introductory Cocoa book. Last year I returned to the Macintosh family with the purchase of an iBook. FINALLY, a mainstream OS with a bullet-proof, proven foundation AND with an incredible graphics engine. 'Nuff said! Cha-Ching on the visa card!

My background includes several years with a large IT consulting firm and some work as a teaching assisitant while in graduate school.

From reading online discussion groups and reviews here at Amazon, I got the impression that most people attempting to learn Cocoa start with this book, so that's where I started. Having completed the book, I am glad that I followed the advice of others in this regard. Here are my comments, kudos and otherwise:

- The book assumes a knowledge of C or C++. Cocoa is written in and designed to be used with Objective-C. Aaron introduces Objective-C concepts and terminology as needed throughout the book, but he assumes that you know C. For instance, he doesn't explain that NSPoint and NSRect are NOT Cocoa classes. He tells the reader that they are structs but does not explain the concept of a struct since experienced C programmers do not need that information. I do agree with the other reviewer that it can be confusing as to what is a struct and what is a Cocoa class if one only looks at the name of the entity, but that fault lies with the framework designers who chose the naming convention, not Aaron. The point is that if you don't know C, LEARN C BEFORE BEGINNING THIS BOOK. (Having taught C++ before, I had no trouble picking up Objective-C without referencing any other material.)

+ Aaron teaches by example. He presents a topic in high level terms and then instructs the reader to follow step-by-step instructions to implement the concept. After writing the code and seeing it in action, he explains how it works and then goes into even greater deal at the end of each chapter with a section titled "For the more curious."

+ Aaron's writing style is informal and casual. If you didn't know better, you'd think your best friend was by your side instructing you in simple, easy-to-understand terms. In fact, he makes Cocoa seem much more simple than it is.

+ Most chapters are short and can be completed in one sitting in 1-2 hours at most. However, there are a couple of exceptionally long chapters-- I think too long. As much as I tried not to do so, I had to break longer chapters into 2-3 sittings. I believe that I, like most people, learn better when given small chunks of knowledge and time to digest it before moving forward.

+ Aaron covers some topics in the book I wouldn't expect to see in an introductory book: 1- creating InterfaceBuilder pallets and 2- creating frameworks.

- I wish there was more information on views, windows, array controllers, bindings, and window controllers. Some views, for example, have flipped origins and some do not. [English: The origin coordinate (x=0,y=0) of some views begins at the lower left corner while other views set the origin to the upper left corner.]

+ BUY THIS BOOK if you want to learn to create MacOS X software!

Summary of Cocoa(R) Programming for Mac(R) OS X (2nd Edition)

According to Apple, "The Cocoa application environment is designed specifically for Mac OS X-only native applications. It is comprised of a set of object-oriented frameworks that support rapid development and high productivity. The Cocoa frameworks include a full-featured set of classes designed to create robust and powerful Mac OS X applications. The object-oriented design simplifies application development and debugging." Cocoa Programming for Mac OS X, 2/e teaches programmers and developers all the tools for Cocoa development. This book has a strong tutorial format and is completely updated for Mac OS X 10.2. The reader is guided through writing five applications and an InterfaceBuilder palette. Each project teaches several new ideas. As a new concept or technique is introduced, the text describes it in detail. This book will cover in depth the following topics: Cocoa: What is it?Where did it come from; ProjectBuilder, Objective-C, Controls, Archiving, Helper Objects, Multiple nibs, Getting and Setting User Defaults, Using Notifications, Custom Views, Responders and Keyboard events, Creating InterfaceBuilder Palettes, NSTimer, Updating Menus, Working with NSTextView and Using Java with Cocoa.
There's a reason that a large slice of the open-source movement has defected from running Linux on its laptops to running Mac OS X. The reason is the Unix core that underlies Mac OS X, and the development tools that run on that core. Cocoa makes it easy to create very slick Mac OS X interfaces for software (as well as to create applications in a hurry), and this new edition of Cocoa Programming for Mac OS X does an excellent job of teaching its readers how to put a Cocoa face on top of code (Objective-C code almost exclusively). If you know something about C and/or C++ programming and want to apply your skills to the Mac, this is precisely the book you want.

Author Aaron Hillegass teaches a Cocoa class, and his book reads like a demonstration-driven lecture in a computer lab. That is, the book takes a heavily example-centric approach to its subject, beginning with simple announcement windows and proceeding to cover the more advanced controls and object-oriented features of Cocoa and Objective-C. Throughout, he hops back and forth between descriptions of the goal to be accomplished, listings of the code that does the job, and instructions on how to use the Mac OS X development tools to speed the development process. --David Wall

Topics covered: How to write software for Mac OS X in Objective-C and, especially, with Cocoa. The new edition shows how to use NSUndoManager, add AppleScript capability to an application, do graphics work with OpenGL, and use Cocoa under Linux using GNUstep. As well, all the basic controls and design patterns are covered.

Apple Books

Book Subjects
Most talked about in Apple Books
Entourage 2001 for Macintosh (Visual QuickStart Guide) ImageEntourage 2001 for Macintosh (Visual QuickStart Guide)
by Steve Schwartz
Peachpit Press; Published: 2001-03; Paperback; Book
Best price: $4.95
Price in other shops: $16.99
Claris Home Page 3 for Windows & Macintosh (Visual QuickStart Guide) ImageClaris Home Page 3 for Windows & Macintosh (Visual QuickStart Guide)
by Richard Fenno
Peachpit Press; Published: 1998-04-24; Paperback; Book
Best price: $17.14
Netscape 3 for Macintosh (Visual QuickStart Guide) ImageNetscape 3 for Macintosh (Visual QuickStart Guide)
by Elizabeth Castro
Peachpit Pr; Published: 1996-10-10; Paperback; Book
Best price: $11.58
Price in other shops: $16.95
Director Multimedia Studio: Macromedia Shockwave : Official Macromedia Training (Macromedia Interactive Series) ImageDirector Multimedia Studio: Macromedia Shockwave : Official Macromedia Training (Macromedia Interactive Series)
by Inc. Macromedia
Peachpit Pr; Published: 1996-12; Paperback; Not Machine Specific; Book
Best price: $14.74
Price in other shops: $49.95
SAP R/3 System: Introduction & Fundamentals of R/3 Technology (2nd Edition) ImageSAP R/ 3 System: Introduction & Fundamentals of R/ 3 Technology (2nd Edition)
by Rudiger Buck-Emden
Addison-Wesley Professional; Published: 1999-12-09; Hardcover; Book
Best price: $33.62
Price in other shops: $46.99
Eudora 4.2 for Windows & Macintosh, Second Edition (Visual QuickStart Guide) ImageEudora 4.2 for Windows & Macintosh, Second Edition (Visual QuickStart Guide)
by Adam Engst
Peachpit Press; Published: 1999-09-21; Paperback; Book
Best price: $3.49
Price in other shops: $16.99
Start Here With 1-2-3 for Macintosh/a Quick and Easy Introduction to Spreadsheet Computing (Start Here Series) ImageStart Here With 1-2-3 for Macintosh/ a Quick and Easy Introduction to Spreadsheet Computing (Start Here Series)
by Daniel Gasteiger, Stacy Gasteiger
Brady; Published: 1992-06; Paperback; Book
Price in other shops: $19.95
Publish it on the Web! Macintosh, Second Edition ImagePublish it on the Web! Macintosh, Second Edition
by Bryan Pfaffenberger
Academic Press; Published: 1997-10-27; Paperback; Book
Best price: $4.00
Price in other shops: $37.95
Macintosh Graphic Techniques for Multimedia ImageMacintosh Graphic Techniques for Multimedia
by Genevieve Crabe
Morgan Kaufmann Pub; Published: 1996-01; Paperback; Book
Best price: $5.23
Price in other shops: $34.95
Apple Pro Training Series: Final Cut Pro for Avid Editors ImageApple Pro Training Series: Final Cut Pro for Avid Editors
by Diana Weynand
Peachpit Press; Published: 2004-04-22; Paperback; Book
Best price: $73.28
Similar Books and other products
iPhone Programming: The Big Nerd Ranch Guide (Big Nerd Ranch Guides) ImageiPhone Programming: The Big Nerd Ranch Guide (Big Nerd Ranch Guides)
by Joe Conway, Aaron Hillegass
Addison-Wesley Professional; Published: 2010-04-23; Paperback; Book
Best price: $21.89
Price in other shops: $49.99
Beginning Mac OS X Programming ImageBeginning Mac OS X Programming
by Michael Trent, Drew McCormack
Wrox; Published: 2005-07-22; Paperback; Book
Best price: $2.30
Price in other shops: $39.99
Cocoa Programming ImageCocoa Programming
by Scott Anguish, Erik Buck, Donald Yacktman
Sams; Published: 2002-09-20; Paperback; Book
Best price: $26.07
Price in other shops: $59.99
Cocoa Programming Developer's Handbook ImageCocoa Programming Developer's Handbook
by David Chisnall
Addison-Wesley Professional; Published: 2010-01-08; Paperback; Book
Best price: $27.00
Price in other shops: $59.99
Beginning iPhone Development: Exploring the iPhone SDK ImageBeginning iPhone Development: Exploring the iPhone SDK
by Jeff LaMarche, Dave Mark
Apress; Apress; Published: 2008-11-21; Paperback; Book
Best price: $0.64
Price in other shops: $39.99
Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPod touch programming ImageCocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPod touch programming
by Scott Stevenson
O'Reilly Media; Published: 2010-04-30; Paperback; Book
Best price: $18.90
Price in other shops: $34.99
Programming in Objective-C 2.0 (2nd Edition) ImageProgramming in Objective-C 2.0 (2nd Edition)
by Stephen G. Kochan
Addison-Wesley Professional; Published: 2009-01-08; Paperback; Book
Best price: $23.50
Price in other shops: $44.99
VMware Fusion 4 ImageVMware Fusion 4
VMware; VMware, Inc.; Release date: 2011-09-14; Mac; Software
Best price: $39.99
Price in other shops: $49.99
Programming in Objective-C ImageProgramming in Objective-C
by Stephen Kochan
Sams; Published: 2003-12-18; Paperback; Book
Best price: $38.34
Price in other shops: $39.99
Book store. Illustrated catalog of books on different categories