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

Re: Variable type representations


  • Subject: Re: Variable type representations
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 11 Mar 2016 13:01:47 -0800
  • Feedback-id: 167118m:167118agrif8a:167118sRg9yomjMA:SMTPCORP

On Mar 11, 2016, at 12:55 , Quincey Morris <email@hidden> wrote:
>
> just use ‘unsignedIntegerValue’

Oops, forgot you were starting from a NSString, so there’s no unsigned variant. Use ‘integerValue’ and cast the result (possibly doing a run-time check for a negative value first).

_______________________________________________

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


References: 
 >Variable type representations (From: Carl Hoefs <email@hidden>)
 >Re: Variable type representations (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Variable type representations
  • Next by Date: Re: Automatically restore last saved document on application launch
  • Previous by thread: Re: Variable type representations
  • Next by thread: $-prefixed archiving keys in 10.11?
  • Index(es):
    • Date
    • Thread