• 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
NSSearchField - bindings vs. multi-term search strings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: problem with [NSData bytes] on Intel
  • Next by Date: Re: creating a preference window safari style
  • Previous by thread: Re: NSTExtView with Line number view
  • Next by thread: x86 programs on linux?
  • Index(es):
    • Date
    • Thread