Re: Binding to an array.name, how?
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