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: Dave DeLong <email@hidden>
- Date: Sat, 26 Jun 2010 10:46:47 -0600
-[NSNumber objCType]
Compare that against @encode(float), @encode(int), etc.
Cheers,
Dave
On Jun 26, 2010, at 10:45 AM, Jaime Magiera 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.
>
> thanks for any help,
>
> Jaime Magiera
>
> Sensory Research, Inc.
> http://www.sensoryresearch.net
>
>
>
>
>
>
>
> _______________________________________________
>
> 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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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