Cocoa Programming for Mac OS X, Second edition and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

49 used & new from $5.44

Have one to sell? Sell yours here
 
 
Cocoa(R) Programming for Mac(R) OS X (2nd Edition)
 
See larger image
 
Start reading Cocoa Programming for Mac OS X, Second edition on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

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

~ Aaron Hillegass (Author)
4.6 out of 5 stars  See all reviews (48 customer reviews)


Available from these sellers.


12 new from $30.15 36 used from $5.44 1 collectible from $29.99

Formats

Amazon Price New from Used from
  Kindle Edition $39.99 -- --
  Paperback -- $30.15 $5.44
There is a newer edition of this item:
Cocoa(R) Programming for Mac(R) OS X (3rd Edition) Cocoa(R) Programming for Mac(R) OS X (3rd Edition) 4.4 out of 5 stars (102)
$31.49
In Stock.
What Do Customers Ultimately Buy After Viewing This Item?

Customers Who Bought This Item Also Bought

Programming in Objective-C

Programming in Objective-C

by Stephen Kochan
Beginning Xcode (Programmer to Programmer)

Beginning Xcode (Programmer to Programmer)

by James Bucanek
3.2 out of 5 stars (4)  $26.39
Beginning Mac OS X Programming

Beginning Mac OS X Programming

by Michael Trent
3.4 out of 5 stars (10)  $26.39
Cocoa(R) Programming for Mac(R) OS X (3rd Edition)

Cocoa(R) Programming for Mac(R) OS X (3rd Edition)

by Aaron Hillegass
4.4 out of 5 stars (102)  $31.49
Xcode 3 Unleashed

Xcode 3 Unleashed

by Fritz Anderson
3.2 out of 5 stars (16)  $34.64
Explore similar items

Editorial Reviews

Amazon.com Review

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.



Product Description

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.

Product Details

  • Paperback: 480 pages
  • Publisher: Addison-Wesley Professional; 2 edition (May 10, 2004)
  • Language: English
  • ISBN-10: 0321213149
  • ISBN-13: 978-0321213143
  • Product Dimensions: 9.1 x 7 x 1.1 inches
  • Shipping Weight: 2 pounds
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (48 customer reviews)
  • Amazon.com Sales Rank: #281,814 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #10 in  Books > Computers & Internet > Apple > Cocoa
    #48 in  Books > Computers & Internet > Apple > Mac OS X

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(22)
(8)
(5)
(3)
(2)

Your tags: Add your first tag
 

 

Customer Reviews

48 Reviews
5 star:
 (34)
4 star:
 (11)
3 star:
 (1)
2 star:
 (2)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (48 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
24 of 24 people found the following review helpful:
5.0 out of 5 stars Yes, I'm reviewing the 2nd edition, May 4, 2004
By A Customer
I had the pleasure to attend the April 2004 Cocoa programming class at the Big Nerd Ranch. We used a looseleaf version of the final proofs of the 2nd edition of "Cocoa Programming for Mac OS X". Short summary: Excellent.

I have the first edition of the book, so let me summarize some changes:

The book uses Xcode. Cocoa bindings are covered, including key value coding and key value observing. The document architecture is introduced early, and this is coupled to an early discussion of implementing undo. Topics are developed logically and incrementally. The discussion on Java has been dropped, while class notes on OpenGL have been moved into the book.

An early example has been simplified to flatten out the learning curve in the first part of the book. Code examples that are developed in stages now show the new lines of code in BOLD, a vast improvement when you're typing it in.

This book has been refined systematically based on feedback from real students at the BNR classes. This attention to detail really shows.

I recommend the book very highly. My only suggestion would be to use Apples "Objective C Programming Lanaguage" or "Programming in Objective C" (Steve Kochan) as an adjunct to this book if you need a slower introduciton to Objective C.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 14 people found the following review helpful:
5.0 out of 5 stars Excellent but does not cover well bindings..., May 11, 2005
By Didier Prophete (san francisco, ca) - See all my reviews
(REAL NAME)   
This book is simply excellent. It really goes into what cocoa is all about one step at a time. Starting with a very simple app and slowly getting into more complex topics like undo, drag and drop, etc...

It is full of screenshot, so you can easily implement the examples on your own. Everything is neatly detailed, with a lot of 'click here', 'drag this object from here to there' to make sure you are not lost using interface builder.

Of course, don't think that you can go through this book without knowing obj-c. This is NOT an obj-c intro (some people were complaining about this in other reviews !!) Come on... If you want to learn obj-c, simply get 'Programming in Objective-C' by Stephen G. Kochan...

The only problem with this book is that the technology is moving really fast. Apple is really taking care of its developers and introducing new concepts/ideas all the time... So, it makes it hard for any book to really stay up to date...

Two major new technologies not (well) covered in this book are:

1/ Bindings (not well covered)
This second edition has been updated to cover some of the new 10.3 topics/tools, but I don't believe Aaron spend nearly enough time on 'cocoa bindings'. They completely change the way you approach an application and litteraly save you hours by taking care of all the 'glue code'.

CocoaDevCentral has some amazing articles which really show you how powerful bindings can be. Check out this one for instance and see for yourself:
http://cocoadevcentral.com/articles/000080.php

2/ Core Data (too new to be covered)
Core Data, a new Tiger technology is (of course) not covered. Another amazing technology which will help you get rid of a lot of glue code. Again, check these 2 articles on CocoaDevCentral:
http://cocoadevcentral.com/articles/000086.php
http://cocoadevcentral.com/articles/000085.php
Apple keeps amazing me ;-)
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 13 people found the following review helpful:
5.0 out of 5 stars THE BOOK Introducing Mac OS X Programming, December 1, 2005
By Nolan Whitaker "TeknoNolan" (Louisville, KY United States) - See all my reviews
(REAL NAME)   
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!
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

2.0 out of 5 stars Not too helpful
This book is too high-level and not descriptive enough. Could be a good intro but doesn't really help to do some real-world tasks.
Published 19 months ago by Yevgen Ostroukhov

5.0 out of 5 stars Lots of easy to understand but relevant examples
I'm new to Cocoa/Objective-C but have a fairly extensive background in software development in a variety of different languages. Read more
Published 20 months ago by Adrian Falvey

4.0 out of 5 stars Excellent for getting on the Cocoa/XCode wagon quickly
The author employs an good teaching technique that leads step by step to understanding the workings of Cocoa and XCode. Read more
Published 21 months ago

4.0 out of 5 stars Excellent tutorials
I tried learning Cocoa on my own using online resources, but it wasn't until I followed the tutorials in this book that I felt that I really learned Cocoa. Read more
Published 22 months ago by Hari Wiguna

3.0 out of 5 stars Great, but where is the errata website?
Hi, the other reviewers are right on with the positive feedback they give. My 2 cents and the reason I gave this 3 stars instead of 5 is simply that there is no published... Read more
Published 22 months ago by Robert Patton

2.0 out of 5 stars It was once great -- don't buy this version
So, with the advent of XCode 3.0, this book is no longer even remotely related to the current state of things. Read more
Published on November 7, 2007 by M. G. Mead

5.0 out of 5 stars Are there really books other than this one that teach Cocoa Programming?
This is the book you want to start with if you're beginning to cut code for Macs. However, as the book outlines in its first few pages, it is not for somebody with absolutely no... Read more
Published on October 17, 2007 by N. Peelman

5.0 out of 5 stars Simply the best cocoa book
This book is simply the best CoCoa and XCode programming book I ever read.
Nice Examples and with clear explanations.
Published on October 17, 2007 by Sebastian

4.0 out of 5 stars Well worth the money
Cocoa is a significant paradigm shift for the Windows, Unix or even Carbon programmer. "Cocoa Programming for Mac OS X" covers all the topics you need to make the transition... Read more
Published on October 9, 2007 by T. Jensen

5.0 out of 5 stars Priceless
This book is written like Mac products are designed. It reads easily and is complete in content. I recommend this book to anyone and everyone beginning to program on the Mac OS X... Read more
Published on August 7, 2007 by Jack B Nimble

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)

Help us improve this fledgling article by editing it on Amapedia.com opens new browser window



Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.