• 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
Re: NSSearchField Case Insensitive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSSearchField Case Insensitive (From: Bastiaan <email@hidden>)

  • Prev by Date: NSTextInput protocol problem
  • Next by Date: Re: I'm having trouble retaining a NSColor
  • Previous by thread: NSSearchField Case Insensitive
  • Next by thread: Shift-clicking NSButtonCells?
  • Index(es):
    • Date
    • Thread