• 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: How tell tell if an NSNumber was initialized from a float or int?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How tell tell if an NSNumber was initialized from a float or int?
      • From: Jaime Magiera <email@hidden>
References: 
 >How tell tell if an NSNumber was initialized from a float or int? (From: Jaime Magiera <email@hidden>)

  • Prev by Date: How tell tell if an NSNumber was initialized from a float or int?
  • Next by Date: Re: How tell tell if an NSNumber was initialized from a float or int?
  • Previous by thread: How tell tell if an NSNumber was initialized from a float or int?
  • Next by thread: Re: How tell tell if an NSNumber was initialized from a float or int?
  • Index(es):
    • Date
    • Thread