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

Re: kCFCompareNumerically


  • Subject: Re: kCFCompareNumerically
  • From: Sam Goldman <email@hidden>
  • Date: Sun, 13 Jan 2002 23:24:21 -0800

I don't have code on hand and I am not sure on how kCFCompareNumerically is
supposed to behave, but (at least for that example) you could use a
NSScanner and then compare the numbers.

- Sam

On 1/13/02 10:11 PM, "Steve Gehrman" <email@hidden> wrote:

> According to the comments in CFString...
>
> "kCFCompareNumerically is currently ignored in the Compare routines."
>
> Does anyone have code that will compare NSStrings numerically ie:
> Foo2.txt < Foo7.txt < Foo25.txt
>
> Thanks!
>
> -steve
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.


References: 
 >kCFCompareNumerically (From: Steve Gehrman <email@hidden>)

  • Prev by Date: kCFCompareNumerically
  • Next by Date: Re: Setting global umask
  • Previous by thread: kCFCompareNumerically
  • Next by thread: Re: kCFCompareNumerically
  • Index(es):
    • Date
    • Thread