• 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: Sort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sort


  • Subject: Re: Sort
  • From: Charles Steinman <email@hidden>
  • Date: Fri, 9 May 2008 17:11:46 -0700 (PDT)

--- Norio <email@hidden> wrote:

> Suppose that you have these 9
> strings:0001,0002,0003,001,002,003,01,02,03.
> I'd like to sort them as
> 0001,001,01,0002,002,02,0003,003,03 as Finder.

If you use one of the compare methods that allows you
to supply options, NSNumericSearch will do what you
want.

Cheers,
Chuck


      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________

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
      • From: norio <email@hidden>
References: 
 >Sort (From: Norio <email@hidden>)

  • Prev by Date: Sort
  • Next by Date: Cocoa coding style (was Re: Did I reinvent the wheel?)
  • Previous by thread: Sort
  • Next by thread: Re: Sort
  • Index(es):
    • Date
    • Thread