Skip to content

Commit 8b48b56

Browse files
lhowardphausler
authored andcommitted
[SR-2133] archive to streams in XML, not OpenStep, format (#458)
1 parent a9ad7b7 commit 8b48b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSKeyedArchiver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public class NSKeyedArchiver : NSCoder {
193193
}
194194
} else {
195195
success = CFPropertyListWrite(plist, self._stream as! CFWriteStream,
196-
kCFPropertyListOpenStepFormat, 0, nil) > 0
196+
kCFPropertyListXMLFormat_v1_0, 0, nil) > 0
197197
}
198198

199199
return success

0 commit comments

Comments
 (0)