• 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: Validating dictionary strings file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating dictionary strings file


  • Subject: Re: Validating dictionary strings file
  • From: Brian Krent <email@hidden>
  • Date: Mon, 21 Nov 2011 00:27:59 -0600

"+ (id)dictionaryWithContentsOfFile:(NSString *)path
Parameters
path
A full or relative pathname. The file identified by path must contain a string representation of a property list whose root object is a dictionary."

👱 Brian Krent


On Nov 21, 2011, at 12:23 AM, Gideon King <email@hidden> wrote:

> Thanks for the plutil tip Brian.
>
> It's not supposed to be an old style dictionary - it's just a strings file, and I have the whole thing in English and Spanish - the English one loads fine, and the Spanish one doesn't. Unfortunately seeing as plutil thinks it's supposed to be an old style dictionary file, it just tells me that there is an error at line 1.
>
> Maybe I just need to do a binary search for the problem line(s)…
>
>
> Regards
>
> Gideon
>
> On 21/11/2011, at 4:13 PM, Brian Krent wrote:
>
>> For validation, try "plutil -lint yourFile.plist" in the Terminal. Also, use curly braces for dictionaries in old-style ASCII plists.
>>
>

_______________________________________________

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

References: 
 >Validating dictionary strings file (From: Gideon King <email@hidden>)
 >Re: Validating dictionary strings file (From: Brian Krent <email@hidden>)
 >Re: Validating dictionary strings file (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Validating dictionary strings file
  • Next by Date: Re: Validating dictionary strings file
  • Previous by thread: Re: Validating dictionary strings file
  • Next by thread: Re: Validating dictionary strings file
  • Index(es):
    • Date
    • Thread