"+ (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 protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to