Re: newbie confused by obj-c syntax
Re: newbie confused by obj-c syntax
- Subject: Re: newbie confused by obj-c syntax
- From: Roarke Lynch <email@hidden>
- Date: Tue, 15 Mar 2005 08:04:28 -0500
On Mar 15, 2005, at 03:54, Daniel Child wrote:
Three questions:
1) Is it better to always use NSArray and NSMutableArray classes,
rather than create your own classes of homegrown class objects.
2) How do you return an array (and not lose it).
More or less, yes. NSArray, NSSet, and NSDictionary (and their mutable
variants) are the core collection classes for cocoa. You pretty much
won't ever need to subclass them.
I think you should take a bit and sit down with some example code:
http://developer.apple.com/documentation/Cocoa/Conceptual/Collections/
index.html#//apple_ref/doc/uid/10000034i
Roarke Lynch
-------------------------------
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden