Re: How tell tell if an NSNumber was initialized from a float or int?
Re: How tell tell if an NSNumber was initialized from a float or int?
- Subject: Re: How tell tell if an NSNumber was initialized from a float or int?
- From: Kyle Sluder <email@hidden>
- Date: Sat, 26 Jun 2010 10:52:47 -0700
On Jun 26, 2010, at 9:45 AM, Jaime Magiera <email@hidden> wrote:
> Hello,
>
> The list search keeps timing out for me, and web searches are not finding anything. I can see how to tell if an NSNumber was initialized with an int or boolean (NSCFNumber vs. NSCFBoolean). However, I can't figure out how to determine if the NSNumber was initialized with an int or float.
I hope you don't mind my asking why you need to do this? The existence of NSCFNumber and NSCFBoolean is an implementation detail upon which you can't rely (well, probably more like shouldn't).
--Kyle Sluder_______________________________________________
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