• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSComparisonResult, 'double wildcard'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [SOLVED] NSComparisonResult, 'double wildcard'
      • From: Martijn van Exel <email@hidden>
  • Prev by Date: Re: Implementing an Inspector similar to the one in IB.
  • Next by Date: Re: How can i read the "iTunes Library" file?
  • Previous by thread: Re: Getting the mouse position in pixels in QC
  • Next by thread: Re: [SOLVED] NSComparisonResult, 'double wildcard'
  • Index(es):
    • Date
    • Thread