Re: Binding a model's ivar array to the contents of an NSArrayController

2009-09-16 Thread Quincey Morris
On Sep 16, 2009, at 08:29, A B wrote: I have an NSView that is keeping track of a group of objects via an NSMutableArray ivar (let's call it relatedObjects). Objects in this array are represented in the view by subviews (i.e. when I add an object to the array, a new subview appears, when I

Re: Binding a model's ivar array to the contents of an NSArrayController

2009-09-16 Thread Todd Heberlein
So in short, my need is pretty simple: Bind an array to an NSArrayController. That being said, it seems that no combination of exposeBindings:, bind:toObject:withKeypath:options:, observeValueForKey:ofObject:change:context:, etc. is working as I expect it to. Admittedly, I have done most

Re: Binding a model's ivar array to the contents of an NSArrayController

2009-09-16 Thread I. Savant
On Sep 16, 2009, at 11:29 AM, A B wrote: So in short, my need is pretty simple: Bind an array to an NSArrayController. That being said, it seems that no combination of exposeBindings:, bind:toObject:withKeypath:options:, observeValueForKey:ofObject:change:context:, etc. is working as I e

Binding a model's ivar array to the contents of an NSArrayController

2009-09-16 Thread A B
I have an NSView that is keeping track of a group of objects via an NSMutableArray ivar (let's call it relatedObjects). Objects in this array are represented in the view by subviews (i.e. when I add an object to the array, a new subview appears, when I delete them, the associated subview is rem