Re: Manually adding objects to NSArrayController

2010-03-18 Thread Jenny M
Ahhh, thank you, that helped! What I did was add an NSArray property (though it could've been NSMutableArray), then called setValueForKey, and bound the ArrayController to that array. And it works great. Jenny On Thu, Mar 18, 2010 at 8:26 PM, Scott Anguish wrote: > Modify the model, not the con

Re: Manually adding objects to NSArrayController

2010-03-18 Thread Scott Anguish
Modify the model, not the controller. so the model object that holds the array should be called with mutableArrayForKey: passing the array variable key. then mutate the array you get back.. that will be KVO compliant and the changes will be reflected in your controller, and then your view. O

Manually adding objects to NSArrayController

2010-03-18 Thread Jenny M
Hi all, I'm having a problem adding the appropriate objects to an NSArrayController. For some strange object model reasons, I will probably need to set this by hand, but I'm having issues. Back to my silly object discussions... before, it was about an NSTreeController which I did get resolved, but