Linked by Eugenia Loli on Fri 4th Jan 2002 20:47 UTC
Mac OS X Less than a month ago, the book publishers Addison Wesley released "Cocoa Programming for MacOSX," which covers the MacOSX RAD development tools, Objective-C and the Cocoa API in easy-to-follow lessons. Update: The author of the book was kind to direct us to the place where you can actually download the source code discussed in the book! Thanks Aaron.
Order by: Score:
how does cocoa fair against BeOS's API?
by mlk on Sat 5th Jan 2002 07:22 UTC

Ignoring the differences in the language (C++ vs. O-C), just concentrate on the API’s.
(The fact that one uses Object->Method, and the other uses <insert O-C version here> is irrelevant.) Can someone post/point me at some source of simple Cocoa apps (just ‘GUI/hello world stuff like - creates a Window, add a label & a button, with action listener (or equivalent)).


by mlk on Sat 5th Jan 2002 07:25 UTC

Should think before I post
/me hides away in the direction of the downloadable source code...

Re: how does cocoa fair against BeOS's API?
by gs on Sat 5th Jan 2002 08:32 UTC

XApplication, XWindow, XView, XControl, XTextView, XFont...

The object hierarchies of Cocoa and BeOS look very similar.

Both frameworks are really clean and elegant but Cocoa's API seem
fairly superior regarding the support for localization and text
encodings and the table widget.

AppSketcher for BeOS was never released while InterfaceBuilder
is really a great tool for rapid protoyping and GUI design.

by Retro on Sat 5th Jan 2002 13:12 UTC

Are you sure this book isn't better than "Learning Cocoa"? You did say, specifically, that Learning Cocoa covered more of the API. But I think this book is a world more cohesive. Learning Cocoa is really just a collection of disjointed web tutorials compiled into a book, and updated slightly (but not terribly thoroughly) for OS X. Having read most of Learning Cocoa and the first 5 chapters of Cocoa Programming for Mac OS X, I can already tell that this is a much better book. And I trust the source more than the guys at Apple, who really just did a recycling job. After all, Mr. Hillegrass taught many of them how to do it, or so I have heard.

It will be nice once Apple completes their documentation of Cocoa, and then finally releases a "Cocoa in a NutShell"-like book.

For another Cocoa programming resource, check out Vermont Recipes at

by Retro on Sat 5th Jan 2002 13:13 UTC
Re: Hmmmm
by Eugenia on Sat 5th Jan 2002 17:40 UTC

>Are you sure this book isn't better than "Learning Cocoa"?

I NEVER said that "Learning Cocoa" is better or worse than "Cocoa Programming for MacOSX". What I said, is that both books need each other (one book is a good reference for the API and the other is a good utilization to learn that API - they are different). In fact, I am going to host a review for both the "Learning Cocoa" & "Learning Carbon" books soon and I will rate them in that article, not in the present one.

by stew on Sun 6th Jan 2002 23:07 UTC

There was a review of both books a while ago on Slashdot and "Cocoa Programming for MacOS X" was the clear winner there. I don't own any of those books, but from flipping pages in bookstores I also had the impression as if "Learnign Cocoa" was not much more than the documentation Apple made available for free online.

"Learning Cocoa" vs. "Cocoa Programming..."
by Hank on Mon 7th Jan 2002 14:21 UTC

I've read both books in my free time quest to learn how to program my mac without using Java. I've been impressed with Cocoa, and had been very pleased with "Learning Cocoa". Since that was the one source out there, I guess I didn't have a choice originally. There is a lot of overlap between that book and the free documentation from Apple, but it isn't a one for one copy of the free stuff. I thought it was worth my $20 or $30.

A couple of weeks ago I picked up "Cocoa Programming for Mac OS X". I've found that book much more effective in my training. That may be because I have an introduction to Cocoa already however. If I had to recommend one or the other, I think I would recommond "Cocoa Programming..." I just think it reads better.

All we need now is a book that highlights a lot more of the "hidden" Quartz functions and the like that Apple doesn't want to share.