• 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
Hex <=> NSNumber?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hex <=> NSNumber?


  • Subject: Hex <=> NSNumber?
  • From: Dave DeLong <email@hidden>
  • Date: Thu, 20 Jan 2005 01:12:42 -0700

Hello everyone,

I'm new to Cocoa, and one of the projects I'm teaching myself on is a color converter application. One of the things I would like it to have is a Hex field. So my question is thus:

How can I take an NSNumber and convert it to it's Hexadecimal equivalent (without having to go through the math myself, and preferably as an NSString)? Likewise, how can I go from Hex to a number?

Thanks very much!

Dave DeLong

_______________________________________________
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


  • Follow-Ups:
    • Re: Hex <=> NSNumber?
      • From: RenĂ© Puls <email@hidden>
  • Prev by Date: Re: Cocoa bindings and a custom view...
  • Next by Date: Re: Converting sound
  • Previous by thread: Re: Problem reloading data for NSOutlineViewDataSource without memory leak
  • Next by thread: Re: Hex <=> NSNumber?
  • Index(es):
    • Date
    • Thread