Adventures in Cocoa

Posted by Jake Good
on Aug 12, 08

I've started to read Cocoa Programming for Mac OS X by Aaron Hillegass...

Cocoa

It's a whole new world for me, Objective-C. It's C under the hood with Object Oriented goodness mixed in. Simple message passing to objects where every method is public and every instance variable is protected.

Coming from a Windows Forms background it has it's ups and downs... I won't compare it to Win32, because, well... you all know that anything could be better... Interface Builder feels a LOT different than the Windows Forms designer, but it really isn't... it just hides more of the code from you.

Objective-C feels nice in it's message passing. Very explicit. Feels very OO. But with the iPhone and < 10.5... doing the retain, release (aka poor mans garbage collection) is very ugly and introduces a level of bugs and debugging that is unheard of. Please give me a GC on the iPhone, I'll take the performance hit...

At any rate, if you're curious, I will be updating my git repository with all of the code that I write while following the examples in the book:

git clone git://github.com/whoisjake/cocoa_adventures.git

http://github.com/whoisjake/cocoa_adventures/tree/master

Comments

Leave a response

Comment