• 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
PList Data Typing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PList Data Typing


  • Subject: PList Data Typing
  • From: Kevin Bracey <email@hidden>
  • Date: Tue, 16 Dec 2014 11:10:38 +1300

Hi All,

I'm needing to read in a PList, that others have designed, I have no control over the input.

One of the Keys stores either a String, Number or Boolean value.

Checking for the NSString is straight forward.

How can I tell if the Value is a Boolean or Number in the NSDictionary? as 0 and 1 are valid values for a number.

cheers
Kevin


_______________________________________________

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: PList Data Typing
      • From: Ken Thomases <email@hidden>
    • Re: PList Data Typing
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: WTF is happening?
  • Next by Date: Re: WTF is happening?
  • Previous by thread: Re: NSRegularExpression segfault
  • Next by thread: Re: PList Data Typing
  • Index(es):
    • Date
    • Thread