• 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: 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

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

  • Prev by Date: Re: 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: Re: 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