NSComparisonResult, 'double wildcard'
NSComparisonResult, 'double wildcard'
- Subject: NSComparisonResult, 'double wildcard'
- From: Martijn van Exel <email@hidden>
- Date: Mon, 12 Jan 2009 12:25:39 +0100
Hi all,
I'm looking at the TableSearch example to implement a similar view
with a UISearchBar which essentally should act as a filter for the
cells in the UITableView below it.
The TableSearch example implements an NSComparisonResult that filters
using a single wildcard (for want of a better term...): it filters by
comparing the string entered in the search bar to the beginning of the
strings in the array that fills the table view. What I want instead is
to filter on any part of the string (using a 'double wildcard' much
like the SQL 'LIKE' operator.
Can I implement this using a NSComparisonResult?
Thanks,
--
martijn van exel -+- email@hidden -+- http://www.schaaltreinen.nl/
_______________________________________________
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