Re: windowcontroller neccessary?
Re: windowcontroller neccessary?
- Subject: Re: windowcontroller neccessary?
- From: matt neuburg <email@hidden>
- Date: Sun, 12 Jan 2003 10:14:42 -0800
On Sat, 11 Jan 2003 15:08:00 +0100, daniel oberhoff <email@hidden> said:
>
question: is there any forcing reason to ever user NSWindowControler as
>
a superclass?
NSWindowController cleans up nibs - when released, it releases every top-level object in the nib that it owns and has loaded. Unless you know how to do that yourself, you can have memory leakage (or just unnecessarily high memory usage) if you use anything but an NSWindowController to own/load a nib.
Also NSWindowController is notified when its window loads. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.