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: Quincey Morris <email@hidden>
- Date: Mon, 19 Jan 2009 17:25:47 -0800
On Jan 19, 2009, at 15:11, Ken Thomases wrote:
[1] The indexed to-many accessors for array properties are described
here:
http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/AccessorConventions.html#/
/apple_ref/doc/uid/20002174-178830-BAJEDEFB
Incidentally ...
If anyone can find a place in any documentation or header files that
*says* the indexed to-many accessors (such as
insertObject:in<Key>AtIndex: and removeObjectFrom<Key>AtIndex:) are
KVO-compliant when used directly, you'd be doing a public service by
posting a link.
I can find nothing that says that these methods generate KVO
notifications when called. AFAICT they are described only as part of
the implementation of mutableArray/SetValueForKey/KeyPath:, and it
would be possible to conclude from the documentation that the
notifications are generated by the proxy class, not by the indexed
accessors.
Yes, I know that the indexed accessors *do* generate KVO notifications
(I wrote code to be sure), but the question is whether they're
*documented* to do so, and if therefore that behavior is API-guaranteed.
_______________________________________________
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