Protocols

The following protocols are available globally.

  • Allows overriding default decode function from your app.

    You likely don’t want to conform to this yourself.

    See more

    Declaration

    Swift

    public protocol DynamicDecodable
  • Provides a default implementation of decode() which casts the object to a NSValue and unsafely casts its value as Self.

    See more

    Declaration

    Swift

    public protocol NSValueCastable : Decodable
  • Used to enable decoding to different IntegerTypes from NSNumber.

    See more

    Declaration

    Swift

    public protocol NSNumberCastable : NSValueCastable