Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray - waste of time?



It conforms to NSCoding, NSCopying, NSMutableCopying, and participates in KVC/KVO.

On Apr 26, 2007, at 4:26 PM, Marcel Weiher wrote:


On 14,Apr 2007, at 11:29 , Nick Zitzmann wrote:


On Apr 14, 2007, at 12:26 PM, William Squires wrote:

What advantage does using an NSArray/NSMutableArray have over using an ordinary C-style static/dynamic 'array'?

It's easier to program, and an index overrun doesn't crash the program.

It grows/shrinks automatically, handles retain/release memory management, has various searching/sorting methods built-in,...


Marcel

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/robertwalker1% 40mac.com


This email sent to email@hidden

-- Robert Walker email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >NSArray - waste of time? (From: William Squires <email@hidden>)
 >Re: NSArray - waste of time? (From: Nick Zitzmann <email@hidden>)
 >Re: NSArray - waste of time? (From: Marcel Weiher <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.