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.


On Mar 18, 2010, at 3:10 PM, Jenny M wrote:

> Alpha >> has multiple Betas >> has multiple Deltas
> I need an NSPopUpButton to contain all of the Deltas for the one
> Alpha. Right now the NSPopUpButton is bound alright to the
> NSArrayController. The default NSArrayController setup seems to
> automatically pull *all* Delta types, NOT just the ones that exist
> under that Alpha, so I'm trying to do it manually.

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to