Disposing of a Nib file
Disposing of a Nib file
- Subject: Disposing of a Nib file
- From: Ian was here <email@hidden>
- Date: Wed, 27 Jul 2005 10:22:23 -0700 (PDT)
I have an application with many Nib files. I have a
particular Nib file that has two classes on it, the
owner and a view. When I release the owner class, the
view class' dealloc method is never called. I was
wondering if there was any way to release or otherwise
dispose of the Nib file and all of it's objects.
I can think of other ways of killing the Nib objects,
such as sending out a notification that each receives
and thus releases itself.
The reason I would like to kill this thing is because
it is part of the application that a user would exit,
then reenter again at a later time. I would like to
recreate the Nib file each time so each object's init
and awakeFromNib methods getting called.
Any thoughts on this would be greatly appreciated.
Thanks.
Ian
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
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