Re: NSArray enumerator orders- interface or implementation detail? also: removing conditional statements
Re: NSArray enumerator orders- interface or implementation detail? also: removing conditional statements
- Subject: Re: NSArray enumerator orders- interface or implementation detail? also: removing conditional statements
- From: Chris Hanson <email@hidden>
- Date: Mon, 7 Oct 2002 17:40:04 -0500
At 2:21 PM -0500 10/7/02, Joe Osborn wrote:
In short-- can I rely upon -[NSArray objectEnumerator] to return an
enumerator which will enumerate through the array's elements in the
order of their indices in the array?
Yes.
According to the documentation for -[NSArray objectEnumerator]:
Returns an enumerator object that lets you access each object
in the receiver, in order, starting with the element at index
0 [...]
Hope this helps.
-- Chris
PS - When you have multiple unrelated questions, you might want to
post each question in a separate message. In my mail client, I
couldn't even tell you had a second question until I read your
message because its subject was truncated in my message list window.
--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Making Business Distributed | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
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.