Re: Access to NSArrayController's NSMutableArray?
Re: Access to NSArrayController's NSMutableArray?
- Subject: Re: Access to NSArrayController's NSMutableArray?
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 19 Jan 2004 10:38:15 -0800
On Jan 19, 2004, at 9:37 AM, Dave Sopchak wrote:
I replaced my NSMutableArray of guide stars with an NSArrayController.
So far things have been great, I can do more with less code.
As in, you've replaced the array instance variable with a controller?
If so, you shouldn't do that. The controller is a controller -- it
shouldn't become part of your model. You should therefore be able to
modify the array contents much as you would have before, modulo you'll
probably have to use indexed accessor methods to add/remove objects
from the array (see archives).
mmalc
_______________________________________________
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.