RawRepresentable

protocol RawRepresentable
  • Failable initializer that accepts an optional parameter

    Parameter

    Parameter optionalRawValue: optional RawValue

    Returns

    nil or the raw representable object

    Declaration

    Swift

    public init?(optionalRawValue rawValue: RawValue?)

    Parameters

    optionalRawValue

    optional RawValue

    Return Value

    nil or the raw representable object