Re: NSNumber & C data types
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