Re: Access to NSArrayController's NSMutableArray?
Re: Access to NSArrayController's NSMutableArray?
- Subject: Re: Access to NSArrayController's NSMutableArray?
- From: Andreas Mayer <email@hidden>
- Date: Mon, 19 Jan 2004 19:31:18 +0100
Am 19.01.2004 um 18:37 schrieb Dave Sopchak:
Is there any elegant way to get a particular object out of
NSArrayController?
I haven't actually used bindings and controllers yet, but I'm quite
sure you are not supposed to change any data in the controller. Update
your model data instead using the usual set methods and the controller
should pick up the change automatically.
The "Cocoa Bindings" documentation says:
"You do need to know that invoking a models set method triggers the
change messages to all dependent views. If you ever need to update
views programmatically, be sure to use the set methods. Invoking some
other method that updates the property or accessing an instance
variable directly may not trigger these change messages."
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/index.html
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.