Learning Cocoa

Six years ago this month, O’Reilly Media released my book Learning Cocoa with Objective-C, a big revision and rewrite of the original Learning Cocoa book that was assembled from Apple documentation. For 2002, it was a great introduction to Cocoa and I’m proud of the work I did on it. However, a lot has happened in the last six years. Project Builder gave way to Xcode. Core Data, Core Animation, and lots of other tasty APIs have come out. And more recently the Objective-C language and runtime has been undergoing some pretty decent evolution, including the addition properties, garbage collection, and more. The book is more than showing its age at this point.

Learning Cocoa

I considered revising the book several times over the years, but it wasn’t to be. For more than a few years, the Mac development book market wasn’t exactly a star performer for the publisher. Recently, no doubt thanks in large part to interest in iPhone development, that seems to have changed. Earlier this year O’Reilly approached me about revising the book. This time around, I decided to pass—at least for the time being. I’ve got a whole group of fantastic photographic endeavors that is totally filling my mental bandwidth. It wouldn’t be fair to myself, the publisher, and potential readers to attempt to revise the book on a deadline with my current workload. Of course, just because I passed doesn’t mean that the book is dead. O’Reilly may move forward with a revision by somebody else or may undertake other related projects as they see fit. They have my full support in whatever they decide to do.

No matter what happens with Learning Cocoa, the good news is that there’s an incredible amount of activity in the area of providing great starts to Cocoa programmers. By no means is there a vacuum in this space. Aaron Hillegass has revised his book twice and now offers the 3rd edition of Cocoa Programming for Mac OS X. I’ve always recommended Aaron’s book in addition to my own effort and have been happy to see that Aaron has been able to revise his material over time.

Cocoa Programming Quick Start

Also, and this is very exciting to me, the Pragmatic Programmers are making a big entrance onto the Mac development scene. Daniel Steinberg—who I’ve collaborated on many projects throughout the years—is writing Cocoa Programming, A Quick-Start Guide for Developers. Daniel actually tried to get me to write this book a few times for the Prags, but I’ve stuck to my guns about my photography projects and instead will serve as a reviewer for his work. In addition to the book, Daniel will be joining up with Bill Dudney to offer a three day Cocoa Studio produced by the Pragmatic Studio in late October in Denver, Colorado. I’ve been a long-time fan of the way that Mike and Nicole Clark run the Pragmatic Studio and I’m sure that this will be a great three days for those that go.

I’m super happy to see this activity happening. In a way, I do wish I could be more involved in this space right now. But, knowing that there’s good things happening in this area goes a long way to alleviating any pangs of the heart that I might have. For those people that are picking up Cocoa for the first time, there are great options that exist now and which are coming. I’m looking forward to seeing how Daniel’s book evolves as he finished it up. And, truth be told, I’m more than a little tempted to fly out to Denver myself in late October to check out the new Cocoa Studio. It might sound a bit sentimental, but it kind of feels like a torch has been passed. I can’t wait to see what happens next.

This is one of 187 blog posts on duncandavidson.com. If you care to read more, two posts I recommend are Dear Speakers, a set of thoughts for public speakers that I pulled together in March, 2009 and Tilting at the Windmill, One Last Time, a call to Flickr to include important EXIF and ITPC metadata in the photographs they provide to the public.

8 Comments

Pragmatic does excellent work and Daniel reliably shows himself to be an excellent writer. I very much look forward to this book. Great write up Duncan.

user-pic

I understand that Intuit is writing a new version of Quicken for Mac in Cocoa.
Ted

user-pic

Unfortunately I didn't buy you book when it was current. I still recommend it though to people in France asking me what books they should get to start Cocoa developement (along with Aaron's Bible).

I happen to have bought the beta book from Pragmatic. It's a very good read so far. I have already learned several things I didn't know, and Daniel has a great wrtiting style.

You too are a great writer and the recent blog posts frequency increase is a pleasure.

user-pic

For various reasons, last year I end up getting my start in Cocoa with the very *first* edition of your book. (Along with Apple's current docs, of course.) It was neat to then transition from Tiger to Leopard's development system, having also gotten that glimpse into the state of the art circa 2001.

user-pic

Thanks for the heads-up. I've enjoyed PragProg's books for a few years now, but I didn't realize they had a Cocoa book, so I'll be buying it as soon as I can.

It's such a shame they had to pull the plug on the iPhone book. I was really looking forward to that one.

user-pic

Six years. Oh, man. I remember Chuck Toporek introducing you to me at WWDC that year. I introduced you to Bbum and Alex later that day, and ever since then, you've been a pillar of the Cocoa developer community.

-jcr

user-pic

Yeah. I can’t believe it’s been six years. I’m psyched that people are still using the book after all this time and I can’t wait to see how the projects currently underway come out.

Now, if Apple could just lift that silly NDA. I know lots of great iPhone content is being held under wraps because of that bit of legal mumbo-jumbo.

user-pic

@Guillermo The iPhone book (and screencasts and Studio) was just on hold waiting for the NDA to be lifted. Now that it happened, everything's out.

user-pic

Leave a comment