• 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
Newbie: compare version string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie: compare version string


  • Subject: Newbie: compare version string
  • From: norio <email@hidden>
  • Date: Sun, 9 Dec 2007 23:43:56 +0900

Hi,

Is there APIs which compare two version strings: like 10.5 is less than 10.5.1 or 10.5 is greater than 10.4.11.
Is it OK to use NSString's compare method? Or should I split those strings by period and make scalers from them?


Norio Ota
_______________________________________________

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: Newbie: compare version string
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Debugger exits with signal 5 (SIGTRAP) after computer crashed.
  • Next by Date: Re: Writing GNU-Step compatible Cocoa
  • Previous by thread: Re: Writing GNU-Step compatible Cocoa
  • Next by thread: Re: Newbie: compare version string
  • Index(es):
    • Date
    • Thread