Predicates looking for Name

Sorted out the search text criteria for search list.  But the search expression is currently too crude.  Need a better way to identify words within name.

Using the basic like[c] expression which is grossly inadequate.  Maybe regular expression or a combination of predicate complex expressions to cater for this.

Found a nice solution for this iTunes like search from Cocoa Is My Girlfriend.

Overkill with above solution; just use @”x contains[c] %@” will do.

Category: Core Data
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>