Skip to content

Commit 2307802

Browse files
lhowardparkera
authored andcommitted
[SR-2133] archive to streams in XML, not OpenStep, format (swiftlang#458)
1 parent 9457574 commit 2307802

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)