• 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: Diederik Hoogenboom <email@hidden>
  • Date: Mon, 28 May 2007 20:24:06 +0200

Jim,

The documentation says:

"The default implementation of this method retrieves the information from a global dictionary keyed by the receiver’s pointers.

For improved performance, this method can be overridden to retrieve the opaque data pointer in an instance variable. Overrides of this method must not attempt to send Objective-C messages to the stored data, including retain and release."



So it doesn't say it's an opaque pointer. Just that you can override this method to return an opaque pointer.



- Diederik


-- Diederik Hoogenboom Obvious Matter - DiskLibrary for Mac http://www.obviousmatter.com



On 28-mei-2007, at 20:09, Jim Correia wrote:

On May 28, 2007, at 1:54 PM, Diederik Hoogenboom wrote:

Use [object observationInfo] which returns an array with dictionaries, one for each observer:

-observationInfo is declared to return a void *. This is documented as an opaque value. Design and ship code which relies on the current implementation details at your own peril.


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:
40obviousmatter.com


This email sent to email@hidden


_______________________________________________

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: Jim Correia <email@hidden>
    • Re: observing dealloc
      • From: Shawn Erickson <email@hidden>
References: 
 >observing dealloc (From: Ken Tozier <email@hidden>)
 >Re: observing dealloc (From: Jim Correia <email@hidden>)
 >Re: observing dealloc (From: Ken Tozier <email@hidden>)
 >Re: observing dealloc (From: Ken Tozier <email@hidden>)
 >Re: observing dealloc (From: Diederik Hoogenboom <email@hidden>)
 >Re: observing dealloc (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: observing dealloc
  • Next by Date: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • Previous by thread: Re: observing dealloc
  • Next by thread: Re: observing dealloc
  • Index(es):
    • Date
    • Thread