Well, I implemented your method and still had issues. Turns out the value
binding for the drop-down menu was a secondary issue. After implementing your
method, I could verify that changing the property did, in fact, trigger an
update in the table. However, the values never changed in UI. The
You presume correctly. Your suggestion makes perfect sense. I was just
reading about key dependencies yesterday, but didn't put 2 and 2 together
because I wasn't think about the way the table view was setup.
Thanks for the help!
On Nov 22, 2012, at 12:16 PM, jonat...@mugginsoft.com wrote:
>
On 22 Nov 2012, at 18:57, Randy Widell wrote:
> Right, and in other places it works for me. For instance, I have a window
> with text fields bound to a model object through an object controller.
> Updating properties of the model updates the text fields.
>
> Reading your test below, one thin
Right, and in other places it works for me. For instance, I have a window with
text fields bound to a model object through an object controller. Updating
properties of the model updates the text fields.
Reading your test below, one thing I was forgetting is that I am not binding a
column in t
On 21 Nov 2012, at 22:19, Randy Widell wrote:
> Hmm. Well, I am updating the model (and the database that backs it). I just
> need the UI to reflect it.
Hmm, that sounds wonky.
The whole point of binding is that you can update your model and have your UI
reflect the change without any other i
Hmm. Well, I am updating the model (and the database that backs it). I just
need the UI to reflect it.
I guess I was assuming that NSArrayController would respond to a value
observation the same way it responds to, for instance, a selection change in
the table view (updates the menu item's ch
On 21 Nov 2012, at 20:42, Randy Widell wrote:
> Searching around the Internet, I see a lot of questions and answers about how
> to observe changes to properties of objects in a NSArrayController.
> Everything I have seen, though, relates to a third object doing the
> observing. For instance
Searching around the Internet, I see a lot of questions and answers about how
to observe changes to properties of objects in a NSArrayController. Everything
I have seen, though, relates to a third object doing the observing. For
instance:
[arrayController addObserver: viewObject forKeyPath: