[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSPropertyListSerialization fails with OpenStepFormat on OSX
From: |
David Wetzel |
Subject: |
NSPropertyListSerialization fails with OpenStepFormat on OSX |
Date: |
Sun, 26 Oct 2008 20:00:01 +0100 |
Hi,
this:
NSData *plistData = nil;
NSString *error;
NSString *fmt;
plistData = [NSPropertyListSerialization dataFromPropertyList:plist
format:NSPropertyListOpenStepFormat
errorDescription:&error];
fails:
Save failed: Could not create file:
/private/tmp/newstuff.eomodeld/Address.plist -- Property list
format kCFPropertyListOpenStepFormat not supported for writing
That disables exchange with older EOModeler programs.
Which is in turn incompatible.
Possible solution:
add [+NSPropertyListSerialization
dataFromPropertyList:format:errorDescription:]
to base-additions, call the Apple implementation if format !=
NSPropertyListOpenStepFormat
if code runs on Apple.
What do you think?
--
David Wetzel
- NSPropertyListSerialization fails with OpenStepFormat on OSX,
David Wetzel <=