Skip navigation.
 
mlCollections & KVO
FROM : Keary Suska
DATE : Fri Jul 07 20:11:48 2006

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"

Related mailsAuthorDate
No related mails found.