On May 25, 2008, at 6:31 AM, Andy Lee wrote:

The File's Owner is the hole -- the one thing that *isn't* created in the nib.
First Responder and Application are also not created in the nib.  :)

Indeed, that's why I didn't sleep so well -- something was nagging as I clicked Send just before dozing off, but I couldn't stay awake any longer to figure it out... (Although perhaps I've also got a little too used to looking at a different sort of nib file over the last couple of months...)
That and the memory management errors in the code:

- (void)createNibForWindowWithButton:(NSString *)fileName {

        // ...
        [NSKeyedArchiver archiveRootObject:nib toFile:fileName];
        [aWindow release];
        [aButton release];
}


I hesitate to re-enter this thread, I really do. But I think those of us who have been trying to help might want to re-consider how we've been answering, as well as how the questions have been posed. There have been many fine, thorough answers to Johnny's question. The fact that none of them have seemed to help should tell us something.

That's a fair comment, but I'd nevertheless be interested to know if the code-based "explanation" helped (Johnny or anyone else).

mmalc

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to