• 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: observing dealloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: observing dealloc


  • Subject: Re: observing dealloc
  • From: Jim Correia <email@hidden>
  • Date: Mon, 28 May 2007 12:19:20 -0400

On May 28, 2007, at 12:10 PM, Ken Tozier wrote:

I'm using objects for keys in a dictionary and want the dictionary to observe dealloc invocations on these keys so it can update it's contents. Is there any way to observe calls to an object's dealloc method?

I think you are going to have to be more specific about what it is you are trying to do, rather than the mechanics by which you think you should do it.


In particular, since NSDictionary copies its keys, trying to observe the object lifetime of the original instance isn't going to do you any good.

Jim
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: observing dealloc
      • From: Ken Tozier <email@hidden>
References: 
 >observing dealloc (From: Ken Tozier <email@hidden>)

  • Prev by Date: observing dealloc
  • Next by Date: Re: observing dealloc
  • Previous by thread: observing dealloc
  • Next by thread: Re: observing dealloc
  • Index(es):
    • Date
    • Thread