NSSearchField - bindings vs. multi-term search strings?
NSSearchField - bindings vs. multi-term search strings?
- Subject: NSSearchField - bindings vs. multi-term search strings?
- From: Jim Correia <email@hidden>
- Date: Sat, 4 Feb 2006 15:08:24 -0500
It appears that there is only simple value substitution for available
when using the predicate binding of NSSearchField. That is, you can
do something of the form
name CONTAINS[cd] $value
but you cannot do
foreach $word in $value
name CONTAINS[cd] $word
(What I'd like to be able to do is have the search string "salty
soup" match something named "salty potato soup".)
Is there some attribute of the search field that I have missed which
will tokenize the string into words and do this for me? Or (the more
likely case :-)) do I have to take over predicate generation
completely in order to get this behavior?
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden