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
optionalRawValueoptional RawValue
Return Value
nil or the raw representable object
RawRepresentable Extension Reference