Glenn Vanderburg

: Blog

infosyndicate
2 of 2 articles
Cocoa preferences
Sat, 16 Nov 2002 (20:37) #
One of the nicest things about Cocoa is the user preferences architecture. It provides a nice way to store explicit user preferences, as well as implicit things like window placement. And what I discovered today is that Cocoa has very nice hooks to make that easy. For example, to make a window remember its last position, you just have to add one line to the awakeFromNib method:
    [self setWindowFrameAutosaveName: @"LinkWindow"];

It's so simple that there's no reason not to do it. It took just a couple of minutes to add that to Blapp.

Shared development of Cocoa interfaces
Thu, 12 Sep 2002 (15:35) #
Interface Builder is the first GUI builder I've ever used that I didn't really hate. But it still has its drawbacks.

I have quite a few ideas for improving Blapp. I'd love to help Michael McCracken by adding some of these features myself (that seems better than becoming "that pest who asks me for three new features a day"). But that's going to be difficult, because you can't really send patches against the objects.nib file.

I suppose this is just a special case of the problems inherent in collaborative GUI development, but it's still annoying.