Re: What to use observeValueForKeyPath: context
Re: What to use observeValueForKeyPath: context
- Subject: Re: What to use observeValueForKeyPath: context
- From: Keith Duncan <email@hidden>
- Date: Fri, 29 Aug 2008 18:55:53 +0100
Use &PropertyObservationContext as the context. This way you could
"po *(id *)context" in gdb for a human readable context.
That was my main concern of using the address of a static variable,
but combining the two approaches works nicely.
Keith
_______________________________________________
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