Re: pointer question
Re: pointer question
- Subject: Re: pointer question
- From: Brian Hill <email@hidden>
- Date: Tue, 3 Jul 2001 08:06:25 -0500
On Tuesday, July 3, 2001, at 07:43 AM, Candide Kemmler wrote:
I've heard of something like the STL or so, doing things like the
Collection Framework in Java, but for C++. With it you could sort
all kinds of objects, construct complex data structures over which
you can easily iterate, etc... Sounds great ! Is there something
similar for Objective-C ? I'd love there was, but I don't think
such a thing exists... Does it ?
From NSArray.h:
- (void)sortedArrayUsingSelector:(SEL)aSelector;
- (NSArray *)sortedArrayUsingFunction:(int (*)(id, id, void
*))comparator context:(void *)context;
There used to be some really cool stuff in EOQualifier.h for
searching arrays as well. But that's gone now.
Brian
email@hidden
http://personalpages.tds.net/~brian_hill
"Why? I came into this game for adventure - go anywhere, travel
light, get in, get out, wherever there's trouble, a man alone.
Now they've got the whole country sectioned off and you can't
move without a form. I'm the last of a breed."
-- Archibald "Harry" Tuttle, Rogue HVAC Repairman