Re: NSNumber & C data types
Re: NSNumber & C data types
- Subject: Re: NSNumber & C data types
- From: Charilaos Skiadas <email@hidden>
- Date: Mon, 14 Mar 2005 21:09:52 -0600
Well, I would say it's because C data types are lighter objects, and
there is no reason to use NSNumber in most cases. On the other hand,
when you want to store a number in an NSDictionary, or an NSArray, then
you need an NSNumber, because you can only store objects in container
classes.
Haris
On Mar 14, 2005, at 8:55 PM, Jeff Childers wrote:
I realize this is a newbie question but I cant seem to find an answer.
most code that I have looked at use C data types (for numbers) instead
of NSNumber is there a reason why?
thanks for the info!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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