Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Where is NSList?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is NSList?



Indeed, and NSEnumerator...

-[NSArray objectEnumerator];
-[NSSet objectEnumerator];
-[NSDictionary objectEnumerator];
-[NSDictionary keyEnumerator];

Maybe someone has to change its glasses :-)

On Jul 27, 2004, at 23:40, David Brown wrote:

Look into NSArray and NSMutableArray

On Tue, 27 Jul 2004 17:40:09 -0400, Tim Conkling <email@hidden> wrote:
I'm surprised that Cocoa/CoreFoundation doesn't contain some sort of
iterable (iteratable?) container. Either I'm missing something, or this
is a rather large hole in the framework. I'm looking for a container
that returns iterators of some sort for each object stored in it, so
that each object knows exactly where it is in the container (making for
easy deletion, given the object to be deleted).

How do people handle this sort of thing in Cocoa? I'm used to STL's
map, list, et al, which use these sorts of iterators.

Thanks,
Tim
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.


References: 
 >Where is NSList? (From: Tim Conkling <email@hidden>)
 >Re: Where is NSList? (From: David Brown <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.