Re: Binding of invisible controls: is lazy data loading possible?
Re: Binding of invisible controls: is lazy data loading possible?
- Subject: Re: Binding of invisible controls: is lazy data loading possible?
- From: mmalc Crawford <email@hidden>
- Date: Tue, 20 Jan 2009 15:40:28 -0800
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@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