• 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: How can an object know when another object has gone away?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can an object know when another object has gone away?


  • Subject: Re: How can an object know when another object has gone away?
  • From: Andreas Monitzer <email@hidden>
  • Date: Mon, 16 Jun 2008 00:25:02 +0200

On Jun 16, 2008, at 00:20, James W. Walker wrote:

Is there a standard Cocoa design pattern or idiom to have an object find out when another object has been destroyed? In PowerPlant, I'd use LBroadcaster and LListener, with the listener listening for msg_BroadcasterDied.

What about using NSNotificationCenter?

andy
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How can an object know when another object has gone away?
      • From: "James W. Walker" <email@hidden>
References: 
 >How can an object know when another object has gone away? (From: "James W. Walker" <email@hidden>)

  • Prev by Date: How can an object know when another object has gone away?
  • Next by Date: Initializing font size in UITextField
  • Previous by thread: How can an object know when another object has gone away?
  • Next by thread: Re: How can an object know when another object has gone away?
  • Index(es):
    • Date
    • Thread