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

Related Symbols

class func string(withContentsOfFile: String)

Returns a string created by reading data from the file named by a given path.

func propertyListFromStringsFileFormat()

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