Accessing objects in NSMutableArray directly or using the NSArrayController?
Accessing objects in NSMutableArray directly or using the NSArrayController?
- Subject: Accessing objects in NSMutableArray directly or using the NSArrayController?
- From: Mikael Wämundson <email@hidden>
- Date: Wed, 3 Dec 2008 00:48:51 +0100
Hi all!
In my project I'm using instances of NSMutableArray containing various
objects. The arrays are used in the user interface through
NSArrayControllers with binding. In IB I'm thus accessing the objects
in the array through the controller.
In the code I have access to the array contents both through instances
of the controllers and instances of the arrays. In my code, when do I
use what? What is good programming? For example when sorting the array
contents, adding objects, changing values for objects in the array…
Thanks!
/wamund_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden