Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disposing of a Nib file



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.