Collections & KVO
Collections & KVO
- Subject: Collections & KVO
- From: Keary Suska <email@hidden>
- Date: Fri, 07 Jul 2006 12:11:48 -0600
- Thread-topic: Collections & KVO
Although I think I know the answer to this, I would like to be certain. When
working with collections (NSArray, NSDictionary, etc.), say you have a
collection ivar "collection" in an object "someObject", if an object
observes the collection object directly using:
[someObject addObserver:self forKeyPath:@"collection" options:opts
context:NULL];
If any changes are made *directly* to "collection" (i.e. Other than using
-setCollection:), is the observer notified?
Thanks,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden