> I've used cocoa bindings for preferences, but this is my first serious
> use of Bindings, so here's my problem:
[quoted text clipped - 21 lines]
> Can anyone provide me with any tips on how to do this?
> Thanks
I figured it out. No, I don't need an objectcontroller, just the
arraycontroller. I bound the arraycontroller to my controller object
with a keypath using the array that actually holds the data.
Simple.
ibloom - 24 Feb 2008 03:52 GMT
On Feb 16, 9:42 pm, Lorenzo Thurman <lore...@diespammerhethurmans.com>
wrote:
> > I've used cocoa bindings for preferences, but this is my first serious
> > use of Bindings, so here's my problem:
[quoted text clipped - 26 lines]
> with a keypath using the array that actually holds the data.
> Simple.
I'm doing something similar and I'm trying to understand:
I've bound an NSArrayController to NSApplication which delegates
arrayContent to my AppDelegate class, it calls a method to retrieve a
list of dictionaries.
This all works just fine.
But I can't figure out, when I load a new XML file I want the
NSArrayController to read a new dictionary by calling my method again.
How do I tell it to do this??
Ian Bloom