ANY contains $value.lowercaseString
above is the value I place into my xib's bindings search predicate.
if I type in a word such as => happy it returns correctly if I type in a word such as => happy luck
then my view no longer will contain the a result. even though happy luck does exist as a searchable data point.
All in all it sorts a list of items in a collection view.
I have read this:
http://stackoverflow.com/questions/758212/objective-c-strip-out-whitespace-from-nsstring
and I have read this:
http://www.cimgf.com/2008/11/25/adding-itunes-style-search-to-your-core-data-application/
but its kinda not syncing in.
I want to be able to take the searchString entered into my NSSearchField and strip out the spaces so that I can then feed it to my bindings and have it sort the arrangedObjects. Comparing the whitespace stripped prediate against each whitespace stripd item in the NSArrayControllers arrangedObjects.
Just don't get how to do it.