PropertyListSerialization
An object that converts between a property list and one of several serialized representations.
Declaration
class PropertyListSerializationOverview
The PropertyListSerialization class provides methods that convert a property list to and from several serialized formats. A property list is itself an array or dictionary that contains only NSData, NSString, NSArray, NSDictionary, NSDate, and NSNumber objects.
Property list objects are toll-free bridged with their respective Core Foundation types (CFData, CFString, and so on). See Toll-Free Bridging for more information on toll-free bridging.
Topics
Serializing a Property List
data(fromPropertyList:format:options:)writePropertyList(_:to:format:options:error:)PropertyListSerialization.WriteOptions
Deserializing a Property List
Validating a Property List
Obsolete Methods
dataFromPropertyList(_:format:errorDescription:)propertyListFromData(_:mutabilityOption:format:errorDescription:)
Constants
PropertyListSerialization.MutabilityOptionsPropertyListSerialization.PropertyListFormatPropertyListSerialization.ReadOptions