• 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: Determining object type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining object type


  • Subject: Re: Determining object type
  • From: Christian Stieber <email@hidden>
  • Date: Wed, 12 Apr 2006 15:42:41 +0200

At 09:21 12.04.2006 -0400, John Cebasek wrote:
isKindOfClass: for NSString works, but what about any other types. I know one of the values I need is a boolean, the data in the XML file is:

Since there is no boolean class anyway, booleans are represented as NSNumber in property lists. So you need to check for NSNumber.

Christian

_______________________________________________
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


References: 
 >Determining object type (From: "John Cebasek" <email@hidden>)

  • Prev by Date: Determining object type
  • Next by Date: Re: Function definitions
  • Previous by thread: Determining object type
  • Next by thread: Re: Determining object type
  • Index(es):
    • Date
    • Thread