• 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: beginner question, NSNumber, NSDecimalAsNumber
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beginner question, NSNumber, NSDecimalAsNumber


  • Subject: Re: beginner question, NSNumber, NSDecimalAsNumber
  • From: Andrew Farmer <email@hidden>
  • Date: Sun, 8 Nov 2009 23:16:40 -0800

On 8 Nov 2009, at 08:53, Jay Swartzfeger wrote:
Hi all, I'm an absolute beginner to Objective-C (and programming in
general). I have lots of books on order, but I've been messing with
Xcode/Cocoa/iPhone SDK with online resources while I wait.

My question -- for my next project, I want to do a simple number <->
binary converter. Is this handled via the superclass NSNumber, or the
more specific NSDecimalAsNumber? I've been looking for examples online
and have come up empty handed. Thanks!

NSNumber, if anything. The conversion to and from binary is probably best done "by hand" using the C bitwise operators, though.
_______________________________________________


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: 
 >beginner question, NSNumber, NSDecimalAsNumber (From: Jay Swartzfeger <email@hidden>)

  • Prev by Date: Re: code data export import strategies
  • Next by Date: QTMovie Load Percent.
  • Previous by thread: beginner question, NSNumber, NSDecimalAsNumber
  • Next by thread: Re: beginner question, NSNumber, NSDecimalAsNumber
  • Index(es):
    • Date
    • Thread