An object that converts between a property list and one of several serialized representations.
SDKs
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
class PropertyListSerialization : NSObject
Overview
The Property
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.