• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is it possible to traverse dictionaries and arrays using KVC?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to traverse dictionaries and arrays using KVC?


  • Subject: Re: Is it possible to traverse dictionaries and arrays using KVC?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 16 Aug 2011 12:52:43 -0700

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.

—Jens

_______________________________________________

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

  • Follow-Ups:
    • Re: Is it possible to traverse dictionaries and arrays using KVC?
      • From: Kyle Sluder <email@hidden>
    • Re: Is it possible to traverse dictionaries and arrays using KVC?
      • From: Tito Ciuro <email@hidden>
References: 
 >Is it possible to traverse dictionaries and arrays using KVC? (From: Tito Ciuro <email@hidden>)

  • Prev by Date: Re: How can I prevent drag-and-drop initiation in an NSTextField
  • Next by Date: Re: Options to defaults or commandline
  • Previous by thread: Is it possible to traverse dictionaries and arrays using KVC?
  • Next by thread: Re: Is it possible to traverse dictionaries and arrays using KVC?
  • Index(es):
    • Date
    • Thread