• 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
Do I know whether a NSNumber was created with +numberWithBool rather than a different +numberWithxx method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do I know whether a NSNumber was created with +numberWithBool rather than a different +numberWithxx method?


  • Subject: Do I know whether a NSNumber was created with +numberWithBool rather than a different +numberWithxx method?
  • From: email@hidden
  • Date: Wed, 1 Feb 2006 22:29:10 -0800

All,

I am walking through a NSDictionary and have a variety of NSNumber objects. Some where created with +numberWithBool: and others were created with +numberWithInt:

Do I have any way to know whether that NSNumber represents a BOOL rather than an int?

Thanks,
Blake
_______________________________________________
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


  • Follow-Ups:
    • Re: Do I know whether a NSNumber was created with +numberWithBool rather than a different +numberWithxx method?
      • From: Derrick Bass <email@hidden>
    • Re: Do I know whether a NSNumber was created with +numberWithBool rather than a different +numberWithxx method?
      • From: Gus Mueller <email@hidden>
  • Prev by Date: Re: How to create a View Similar to AdressBook PersonInfo View / iCal Task Info View
  • Next by Date: Re: Do I know whether a NSNumber was created with +numberWithBool rather than a different +numberWithxx method?
  • Previous by thread: Re: How to create a View Similar to AdressBook PersonInfo View / iCal Task Info View
  • Next by thread: Re: Do I know whether a NSNumber was created with +numberWithBool rather than a different +numberWithxx method?
  • Index(es):
    • Date
    • Thread