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 17:43:08 +0100
After all, what prevents somebody else from using 1091 too?
Nothing whatsoever. But that isn't a problem. So long as the
observation context remains internal it doesn't have to be universally
unique.
If you're performing [anotherObjectNotSelf addObserver... then yes,
I'd make sure that the context is unique, so that it doesn't conflict
with an internal context.
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