On Dec 20, 2010, at 11:30 AM, Scott Ribe <scott_r...@elevated-dev.com> wrote:

Anyway, there's no need for an NSMutableArray. You can just have a plain C 
array as an attribute of your class, and set up its entries in awakeFromNib:

patterRateLabels[0] = numberLabel1;
patterRateLabels[1] = numberLabel2;
 

I don't recommend this approach.  It's safer to get the memory management 
benefits of NSMutableArray, and not worry about off-by-one or array overflow 
errors.

--Andy

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to