Instance Method

propertyList()

Parses the receiver as a text representation of a property list, returning an NSString, NSData, NSArray, or NSDictionary object, according to the topmost element.

Declaration

func propertyList() -> Any

Return Value

A property list representation of returning an NSString, NSData, NSArray, or NSDictionary object, according to the topmost element.

Discussion

The receiver must contain a string in a property list format. For a discussion of property list formats, see Property List Programming Guide.

See Also

Converting String Contents Into a Property List

func propertyListFromStringsFileFormat()

Returns a dictionary object initialized with the keys and values found in the receiver.