• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Disposing of a Nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Disposing of a Nib file
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Composite values using Core Data and Cocoa Bindings
  • Next by Date: Re: Disposing of a Nib file
  • Previous by thread: Re: CoreData: How to create two separate in-memory stores?
  • Next by thread: Re: Disposing of a Nib file
  • Index(es):
    • Date
    • Thread