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

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to