Contents

decodePropertyList(forKey:)

Returns a decoded property list for the specified key.

Declaration

func decodePropertyList(forKey key: String) -> Any?

Parameters

  • key:

    The coder key.

Return Value

A decoded object containing a property list.

Discussion

This method calls decodeObjectOfClasses:forKey: with a set allowing only property list types.

See Also

Decoding General Data