Re: How to completely release every object allocated when opening a NIB file ?
Re: How to completely release every object allocated when opening a NIB file ?
- Subject: Re: How to completely release every object allocated when opening a NIB file ?
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 14 Jan 2004 01:39:52 -0800
On Jan 14, 2004, at 1:22 AM, Charles Srstka wrote:
(You'd override windowNibName in MyWindowController
- (NSString *)windowNibName
{
return @"MyWindow";
}
)
I don't get it. Why not just call -[NSWindowController
initWithWindowNibName:]
Force of habit. That's how I first learned it.
initWithWindowNibName: is probably better, to be honest, since
overriding windowNibName sort of subverts the API.
instead of subclassing it to override windowNibName?
I'd still expect there to be a subclass, though, and using
windowNibName ties a particular subclass strongly to its associated
nib.
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.