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

Re: NSString intValue


  • Subject: Re: NSString intValue
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 3 May 2006 15:18:08 +0200

Paolo,

On 3.5.2006, at 8:25, Paolo Bertani wrote:

convert the NSString to int, convert the int back to NSString, compare the resulting NSString with the original one. If they are equal then there are no mistakes on the text.

A bit dangerous: depends on whether an input of, say, "012" is considered valid.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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: 
 >NSString intValue (From: Boyd Collier <email@hidden>)
 >Re: NSString intValue (From: glenn andreas <email@hidden>)
 >Re: NSString intValue (From: Boyd Collier <email@hidden>)
 >Re: NSString intValue (From: Paolo Bertani <email@hidden>)

  • Prev by Date: Re: [Q] C++ object as an Notification observer?
  • Next by Date: Re: Refactoring tools available for Cocoa / ObjC?
  • Previous by thread: Re: NSString intValue
  • Next by thread: Re: NSString intValue
  • Index(es):
    • Date
    • Thread