On 9/16/09 7:22 AM, PCWiz said:

>I found a very simple way to do this. Just bind the NSSearchFields
>"predicate" binding to the Array Controllers filterPredicate key. Then
>change the Predicate Format to "myKeyPath contains[c] $value" where
>myKeyPath is the key path in the array controller that you want to
>filter from. This worked for me. good luck!

You might want to make that "myKeyPath contains[cd] $value" so that the
search is also diacritic-insensitive, which is usually what you want.

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to