• 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
Sort a NSArrayController using case-insensitive compare, possible ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sort a NSArrayController using case-insensitive compare, possible ?


  • Subject: Sort a NSArrayController using case-insensitive compare, possible ?
  • From: Eric MORAND <email@hidden>
  • Date: Mon, 24 Sep 2007 08:00:59 +0200

Hi guys,

I have a table view bound to an array controller (via arrangedObjects) that automatically fetch objects from a managed object context. Everything works fine but sorting : for some reason, when I sort a column containing strings, the sorting is done in a case-sensitive way, which is a problem since I need to present the data to the users the same way that on reports (which are sorted case- insensitive).

Is there a way to force it to case-insensitive ?


Thanks,



Eric.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Sort a NSArrayController using case-insensitive compare, possible ?
      • From: mmalc crawford <email@hidden>
  • Prev by Date: checking status of a background app in a Cocoa program
  • Next by Date: Re: Sort a NSArrayController using case-insensitive compare, possible ?
  • Previous by thread: Re: checking status of a background app in a Cocoa program
  • Next by thread: Re: Sort a NSArrayController using case-insensitive compare, possible ?
  • Index(es):
    • Date
    • Thread