Re: Bind NSTableView to array of dictionaries in user defaults

2016-05-06 Thread Keary Suska
> On May 5, 2016, at 7:47 PM, Jerry Krinock wrote: > > After reading Quincey’s reply, I had concluded that this is one of those > cases where Cocoa Bindings requires additional “glue”, which defeats one of > the two purposes of Cocoa Bindings. But it would be very cool if there were > some c

Re: Bind NSTableView to array of dictionaries in user defaults

2016-05-05 Thread Jerry Krinock
Thank you, Keary. > On 2016 May 05, at 13:47, Keary Suska wrote: > > >> On May 5, 2016, at 7:44 AM, Jerry Krinock wrote: >> >> So I bound the Content Array of the array controller to the 'values' of the >> shared user defaults controller with an arbitrary key path, which pleasantly >> beca

Re: Bind NSTableView to array of dictionaries in user defaults

2016-05-05 Thread Keary Suska
> On May 5, 2016, at 7:44 AM, Jerry Krinock wrote: > > In an OS X app, I wanted to bind a table of objects, each represented by a > dictionary, to an array of dictionaries in user defaults. > > So I bound the Content Array of the array controller to the 'values' of the > shared user defaults

Re: Bind NSTableView to array of dictionaries in user defaults

2016-05-05 Thread Quincey Morris
On May 5, 2016, at 06:44 , Jerry Krinock wrote: > > I’m disapointed that the “magic of Cocoa Bindings” does not seem to provide a > simple “code-less” solution to this simple requirement. Did I miss something? It’s never been possible to bind “through” a NSArray or NSSet. AFAICT, that’s what’