Re: Bindings/Observation Question
Re: Bindings/Observation Question
- Subject: Re: Bindings/Observation Question
- From: Jonathon Mah <email@hidden>
- Date: Thu, 23 Mar 2006 22:56:04 +1030
Hi Karl,
On 2006-03-23, at 09:21, Karl Goiser wrote:
I have some preferences which contain an array of dictionaries
containing attributes including an array of dictionaries. [...]
To do this using Bindings, I am thinking of a table view and
NSArrayController for the outer array, and selection of a theme
sets a variable whose NSObjectController then displays the
particular preferences, and another table view and
NSArrayController handles the inner array..
(Is this a good scenario?)
Yeah, that should work fine.
The question: how does the rest of the application become aware of
the changes to the preferences - especially the attributes in the
inner dictionary? KVO? If so, wouldn't I then have to observe
every attribute within the theme, its array as well as every
attribute of the inner dictionary, as well as being aware of
additions to and deletions from the inner array?
I'm a bit confused about what you're trying to do. Can you give an
example dictionary layout, and how that will affect the interface?
Jonathon Mah
email@hidden
_______________________________________________
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