On Jan 19, 2009, at 9:07 PM, Quincey Morris wrote:

<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/Compliant.html#//apple_ref/doc/uid/20002172 >
Well, yes, but that's not the answer to my question. It says:

If the to-many related objects are mutable, and the -<key> method does not return an NSMutableArray, you must also implement - insertObject:in<Key>AtIndex: and -removeObjectFrom<Key>AtIndex:.

This says what a class needs to do to *be* KVO-compliant, not whether calling these methods is the actual means of triggering the notification -- it doesn't say what you need to call to *change* the property KVO-compliantly. I'm not just splitting hairs here, though I am parsing the terminology very finely.

If this isn't sufficiently clear for you, please file a bug.

mmalc

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to