Apr 04, 2008 00:50
Just been playing around with Cocoa a bit the last couple of days. My initial reaction was complete confusion, but now that I've figured out the Interface Builder tool and realized how Xcode and it have changed since the book I'm using was written (cough) it's looking a lot nicer.
In particular, I really like how easy it is to set up a user interface, and just roll from there. Admittedly, I've never done any MFC, but this is so much easier than Java swing or Windows resources. (i.e., the two UI thingies I've dealt with previously.) I'm imagining Ruby on Rails must be something like this?
I also had a nirvana moment when I read about NSAutoreleasePools around events. Language syntactic sugar that allows you to return an object from a function and have it near-invisibly and cleanly refcounted and destroyed? Without a full-blown garbage collector sucking up time in the background? Sign me up!
Objective-C ... where have you been all my life? ;)
programming