Other Protocols

The following protocols are available globally.

  • Option set implementation which allows each option to have custom string value attached.

    See more

    Declaration

    Swift

    public protocol CustomValueOptionSet : OptionSet where Self == Self.Element, Self.RawValue : FixedWidthInteger
  • A class that can contain foreign members in arbitrary keys.

    When subclassing ForeignMemberContainerClass type, you should call decodeForeignMembers(notKeyedBy:with:) during your Decodable.init(from:) initializer if your subclass has added any new properties.

    Structures should conform to the ForeignMemberContainer protocol instead of this protocol.

    See more

    Declaration

    Swift

    public protocol ForeignMemberContainerClass : AnyObject
  • A skeletal route containing infromation to refresh Route object attributes.

    Declaration

    Swift

    public protocol RouteRefreshSource
  • A skeletal route leg containing infromation to refresh RouteLeg object attributes.

    Declaration

    Swift

    public protocol RouteLegRefreshSource