Re: Binding a NSArrayController to a NSPopupButtonn & NSTextField

2013-02-17 Thread Keary Suska
On Feb 17, 2013, at 8:24 AM, John Joyce wrote: > In the Bindings Inspector, click on Selected Index . > For Bind to, select Array Controller from the Bind to PopUpButton menu. > For the field Controler Key , enter selectionIndex. > This will update the Array Controller's property selectionIndex to

Re: Binding a NSArrayController to a NSPopupButtonn & NSTextField

2013-02-17 Thread John Joyce
On Feb 16, 2013, at 1:21 AM, Keary Suska wrote: > On Feb 15, 2013, at 5:41 AM, Eric Gorr wrote: > >> I have a NSArrayController filled with an array of NSDictionaries. >> >> [[self controller] addObject:@{ @"name" : @"itemA", @"part" : @"partA" }]; >> [[self controller] addObject:@{ @"name" :

Re: Binding a NSArrayController to a NSPopupButtonn & NSTextField

2013-02-15 Thread Keary Suska
On Feb 15, 2013, at 5:41 AM, Eric Gorr wrote: > I have a NSArrayController filled with an array of NSDictionaries. > > [[self controller] addObject:@{ @"name" : @"itemA", @"part" : @"partA" }]; > [[self controller] addObject:@{ @"name" : @"itemB", @"part" : @"partB" }]; > [[self controller] addOb

Binding a NSArrayController to a NSPopupButtonn & NSTextField

2013-02-15 Thread Eric Gorr
What I want to accomplish seems like it should be fairly straightforward. I have placed a sample project at https://github.com/ericgorr/arraycontrollerbindings. I have a NSArrayController filled with an array of NSDictionaries. [[self controller] addObject:@{ @"name" : @"itemA", @"part" : @"par