• 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
Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.


  • Subject: Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 17 May 2006 16:52:43 -0500


On May 17, 2006, at 4:44 PM, Ricky Sharp wrote:

However, if your object is doing crucial cleanup tasks, you could refactor things a bit. Note that I'm now going to assume that the object in question can become a singleton and that your main app controller can hold a reference to that object. If so, you can release that singleton object from within applicationWillTerminate:

Well, you don't need singletons. What was I thinking?! As long as your app has references to the objects to dealloc, you're good.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
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


References: 
 >NSApplication Terminate:self <-- doesn't trigger dealloc method. (From: "Frederick C. Lee" <email@hidden>)
 >Re: NSApplication Terminate:self <-- doesn't trigger dealloc method. (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.
  • Next by Date: Re: How to create "pressed" effect on custom rounded buttons (like Safari bookmark)
  • Previous by thread: Re: NSApplication Terminate:self <-- doesn't trigger dealloc method.
  • Next by thread: willPositionSheet and the x coordinate
  • Index(es):
    • Date
    • Thread