On Tue, Aug 16, 2011 at 12:52 PM, Jens Alfke <j...@mooseyard.com> wrote:
>
> On Aug 16, 2011, at 11:03 AM, Tito Ciuro wrote:
>
>> In KVC, the setValue:forKeyPath: method is super handy to set values in deep 
>> hierarchies. I was wondering if it would be possible to access array 
>> elements using KVC.
>
> I asked this a couple of weeks ago and was told the answer is “no”. 
> Apparently because implementing KV observing of such key paths would be too 
> difficult.

Tito is asking about KVC, not KVO (or in the case of your question, bindings).

Either way, I believe you're correct, and there's no way to get at
individual indexed members of an ordered collection via
-valueForKeyPath:.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to