Other Protocols
The following protocols are available globally.
-
Option set implementation which allows each option to have custom string value attached.
See moreDeclaration
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 calldecodeForeignMembers(notKeyedBy:with:)
during yourDecodable.init(from:)
initializer if your subclass has added any new properties.Structures should conform to the
See moreForeignMemberContainer
protocol instead of this protocol.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