Re: NSPropertyListSerialization fails with OpenStepFormat on OSX

2008-10-27 Thread David Ayers
Am Sonntag, den 26.10.2008, 22:07 +0100 schrieb David Wetzel: David Wetzel wrote: add [+NSPropertyListSerialization dataFromPropertyList:format:errorDescription:] to base-additions, call the Apple implementation if format != NSPropertyListOpenStepFormat if code runs on Apple.

Re: NSPropertyListSerialization fails with OpenStepFormat on OSX

2008-10-27 Thread Matt Rice
Fred Wrote:.. From the name of the format in the error message I gather that you are complaining about an Apple bug here. Is this correct? no its really a feature of them deprecating the openstep style plists, at some point writing worked for legacy apps (as shown by the example link Dave

NSPropertyListSerialization fails with OpenStepFormat on OSX

2008-10-26 Thread David Wetzel
Hi, this: NSData *plistData = nil; NSString *error; NSString *fmt; plistData = [NSPropertyListSerialization dataFromPropertyList:plist format:NSPropertyListOpenStepFormat

Re: NSPropertyListSerialization fails with OpenStepFormat on OSX

2008-10-26 Thread Fred Kiefer
David Wetzel wrote: Hi, this: NSData *plistData = nil; NSString *error; NSString *fmt; plistData = [NSPropertyListSerialization dataFromPropertyList:plist format:NSPropertyListOpenStepFormat

Re: NSPropertyListSerialization fails with OpenStepFormat on OSX

2008-10-26 Thread David Wetzel
David Wetzel wrote: add [+NSPropertyListSerialization dataFromPropertyList:format:errorDescription:] to base-additions, call the Apple implementation if format != NSPropertyListOpenStepFormat if code runs on Apple. What I cannot understand is your proposed solution to this