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
- Delivered-to: email@hidden
- Delivered-to: email@hidden
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.