DictionaryConvertible
public protocol DictionaryConvertible
Objects that can be created fom a dictionary or be converted to one, conform to this protocol.
-
Initializes the object from a dictionary
Declaration
Swift
init(dictionary: [String: Any])
-
Returns the dictionary-representation of the object
Declaration
Swift
var dictionary: [String: Any]