• 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: Binding to an array.name, how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding to an array.name, how?


  • Subject: Re: Binding to an array.name, how?
  • From: Scott Stevenson <email@hidden>
  • Date: Mon, 16 May 2005 09:51:03 -0700


On May 15, 2005, at 10:18 PM, Glen Low wrote:

I've created my own subclass of NSController and called exposeBinding for the various bindings available on it. Each binding corresponds exactly with a KVC-compliant pair of methods e.g. array and setArray.

Now I can easily bind arrays of simple values to the binding. However, supposing I have an array of dictionaries, each dictionary with a key of "name", I find I cannot bind to array.name... it fails at runtime with a

[<NSCFArray 0x3b85e0> addObserver:forKeyPath:options:context:] is not supported. Key path: name

Could you post some code?


- Scott

--
http://treehouseideas.com/
http://theocacao.com/ [blog]


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Binding to an array.name, how? (From: Glen Low <email@hidden>)

  • Prev by Date: Re: FSCopyObjectAsync: useless and crippled
  • Next by Date: Re: Cocoa Bindings & GUI question
  • Previous by thread: Re: Binding to an array.name, how?
  • Next by thread: Changes to NSNetService in Tiger
  • Index(es):
    • Date
    • Thread