Re: Where is NSList?
Re: Where is NSList?
- Subject: Re: Where is NSList?
- From: Matt Freels <email@hidden>
- Date: Tue, 27 Jul 2004 16:43:43 -0500
Check out NSArray and NSMutableArray.
It should be able to do something similar to what you want.
--Matt
On Jul 27, 2004, at 4:40pm, Tim Conkling 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.