Glenn Vanderburg: Blog http://www.vanderburg.org/Blog Glenn Vanderburg's personal weblog. en-us Cocoa preferences http://www.vanderburg.org/Blog/Software/OSX/Cocoa/preferences.blog 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 <em>very</em> nice hooks to make that easy. For example, to make a window remember its last position, you just have to add <em>one line</em> to the <code>awakeFromNib</code> method: <pre> [self setWindowFrameAutosaveName: @"LinkWindow"]; </pre> <p> It's so simple that there's no reason <em>not</em> to do it. It took just a couple of minutes to add that to <a href="http://disco.ucsd.edu/blog/2002/Sep/06#blapp" >Blapp</a>. Shared development of Cocoa interfaces http://www.vanderburg.org/Blog/Software/OSX/Cocoa/collaborative_IB.blog Interface Builder is the first GUI builder I've ever used that I didn't really hate. But it still has its drawbacks. <p> 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. <p> I suppose this is just a special case of the problems inherent in collaborative GUI development, but it's still annoying.