Re: NSSearchField Case Insensitive
Re: NSSearchField Case Insensitive
- Subject: Re: NSSearchField Case Insensitive
- From: Jonathan del Strother <email@hidden>
- Date: Tue, 29 Aug 2006 00:45:50 +0100
On 28 Aug 2006, at 22:26, Bastiaan wrote:
Hello troubleshooters
I just discovered a small problem during a test run of my application.
I have a NSSearchField thats connected to an ArrayController using
bindings, all works well and it was suprisingly simple to set up.
BUT its case sensitive, meaning if i type Banana it finds something
but when i type banana it doesn't find my Banana :-)
I was wondering how i can change this so it will find a result no
matter how it was written.
You're presumably using a predicate looking something like "name
contains $value" ? Try "name contains[c] $value" for case
insensitivity
Jon
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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