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

Re: Hexadecimal addition


  • Subject: Re: Hexadecimal addition
  • From: Keary Suska <email@hidden>
  • Date: Tue, 06 Nov 2007 15:20:30 -0700
  • Thread-topic: Hexadecimal addition

on 11/6/07 2:05 PM, email@hidden purportedly said:

> It's normal integer addition you want to do -- the hex
> is just how it's displayed. You can get an integer out
> of a string with NSFormatter's scanHexInt:, and you
> can create a hex string representation of an integer
> with [NSString stringWithFormat:@"%x", anInteger]
> (though you might consider using an NSFormatter
> subclass to format the data for output rather than
> storing it that way, just as a thought).

Just to correct this, -scanHexInt: is a function of NSScanner--NSFormatter
has no such methods.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: 
 >Re: Hexadecimal addition (From: Charles Steinman <email@hidden>)

  • Prev by Date: Re: Custom attachment in a text view
  • Next by Date: Re: Enabling cut and paste in modal window
  • Previous by thread: Re: Hexadecimal addition
  • Next by thread: Enabling cut and paste in modal window
  • Index(es):
    • Date
    • Thread