DictionaryLiteralConvertible

protocol DictionaryLiteralConvertible

Conforming types can be initialized with dictionary literals.

Inheritance View Protocol Hierarchy →
Associated Types
Key
Value
Import import Swift

Initializers

init(dictionaryLiteral:) Required

Create an instance initialized with elements.

Declaration

init(dictionaryLiteral elements: (Self.Key, Self.Value)...)