• 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: NSNumber & C data types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNumber & C data types


  • Subject: Re: NSNumber & C data types
  • From: Philippe Mougin <email@hidden>
  • Date: Tue, 15 Mar 2005 14:13:54 +0100

> most code that I have looked at use C data types
> (for numbers) instead of NSNumber is there a reason why?

One reason is that NSNumber does not provide math operators or functions. Thus, in Objective-C, even when you use NSNumber you also use C data types when you have to compute things using your numbers.

Philippe Mougin
Open-source scripting language for Cocoa:
http://www.fscript.org


_______________________________________________ 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
  • Prev by Date: Re: newbie confused by obj-c syntax
  • Next by Date: Re: newbie confused by obj-c syntax
  • Previous by thread: Re: NSNumber & C data types
  • Next by thread: "enabled" binding troubles in NSTableColumn
  • Index(es):
    • Date
    • Thread