bindings: communicate changes of object to a collection
bindings: communicate changes of object to a collection
- Subject: bindings: communicate changes of object to a collection
- From: Thomas Schnitzer <email@hidden>
- Date: Thu, 29 Sep 2005 06:33:44 +0200
Hi all,
this seems to be a pretty basic question but I can't find an (easy)
answer right now …
Say I have a bunch of objects in my app that are provided and
maintained by a kind of a "server" object (some kind of backing
store). This objects are changed (using simple KVC compliant accessor
methods) in many places in this app. Some of these objects are kept
in an NSArray instance and are displayed in the UI using a
NSTableView instance; this table view is populated using an
NSArrayController and bindings.
Now the question is: how is it possible to communicate changes to
individual objects in the array being displayed in the table view
using bindings to the array controller/table view? In other words:
how do I trigger a "has changed" message to the array controller so
that the change is reflected immediately in the table view?
Thanks in advance for any insights,
– Thomas _______________________________________________
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