• 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
deallocating instances instantiated in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

deallocating instances instantiated in IB


  • Subject: deallocating instances instantiated in IB
  • From: Chaz <email@hidden>
  • Date: Wed, 10 Jul 2002 15:35:31 -0600

Hello:

Any instances I use by instantiating in IB do not get deallocated, so I'm guessing it must be somehow my responsibility to do so. So where and how do I do this? Actually, let me briefly explain my setup to see if I even have the right approach:

I have two windows in my application that shouldn't be open at the same time. One of the windows needs to open itself at launch. So what I've done is have that window "visible at launch time." Then the user will do some things in the first window, click "OK," and the second window comes up after the first closes. Should the first window be release? And should the second window be created at startup, and then shown when I need it...or do I have a choice for that matter? Should windows go into separate nib files?

The reason I was talking about instantiated IB instances was because I have an NSObject subclass that handles the user actions.

Thanks,
Chaz
_______________________________________________
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.

  • Follow-Ups:
    • Re: deallocating instances instantiated in IB
      • From: Development <email@hidden>
    • Re: deallocating instances instantiated in IB
      • From: Thomas Harrington <email@hidden>
  • Prev by Date: Determining Local Time Formats
  • Next by Date: Re: Plists and booleans
  • Previous by thread: Re: Determining Local Time Formats
  • Next by thread: Re: deallocating instances instantiated in IB
  • Index(es):
    • Date
    • Thread