Re: File's Owner
Re: File's Owner
- Subject: Re: File's Owner
- From: mmalc crawford <email@hidden>
- Date: Sun, 25 May 2008 10:17:00 -0700
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 (email@hidden)
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:
This email sent to email@hidden