Protocols

The following protocols are available globally.

  • A protocol that allows to work with key-value data in a convenient way.

    The protocol defines an associated type called ValueType, which makes it possible (for the protocol) to be used with any type of data. Additionally, that makes this protocol a reusable component that allows other entities to provide key-value pair based functionality hassle-free and without caring about the implementation details.

    A protocol extension implements the defined methods and there is no need for custom implementation of them.

    This protocol uses the GTKeyvalueCompliantStorage class as the custom, intermediate type that protects the actual data storage from direct access.

    See more

    Declaration

    Swift

    public protocol GTKeyValueCompliant