KeyValue

Protocol that defines properties and methods that need to be implemented by objects that keeps key-value pair things.

  • key

    A key.

    Declaration

    Swift

    var key: Key {get set}
  • A value.

    Declaration

    Swift

    var value: Value {get set}
  • Initializer.

    Declaration

    Swift

    init(key: Key, value: Value)