Re: Binary search on sorted NSArray in Cocoa?
Re: Binary search on sorted NSArray in Cocoa?
- Subject: Re: Binary search on sorted NSArray in Cocoa?
- From: "Adam R. Maxwell" <email@hidden>
- Date: Tue, 06 Jan 2009 06:59:22 -0800
On Jan 6, 2009, at 8:16 AM, Karan, Cem (Civ, ARL/CISD) wrote:
My question is, does NSArray already have a binary search method
defined on it in a category somewhere? If it does, I'd rather use
that.
It's not a category, but take a look at CFArrayBSearchValues, which
works just fine thanks to toll-free bridging.
--
Adam
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden