Nibs and memory leaks
Nibs and memory leaks
- Subject: Nibs and memory leaks
- From: Pierre DOUCY <email@hidden>
- Date: Tue, 9 Nov 2004 11:11:34 +0100
Dear all,
I'm in the process of writing an application which behaviour is close
to a document-based app, except that I don't need most of the
capabilities provided by the NSDocument class. For that reason I won't
bother to use it, and instead will create a nib file containing my
"document" window and its controllers, etc...
The nib will be loading whenever the the need arises with [NSBundle
loadNibName: owner]
This process is fairly clear in my mind.
Now what's less clear is how to cleanly dispose all those objects to
avoid memory leaks.
Should I just override my FileOwner's - release to release (or even
dealloc ?) the objects instantiated by the nib ? Or is there something
that I don't get about using more than one nib ?
Thanks in advance.
Pierre DOUCY
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden