The RawRepresentable Protocol in Swift
Ole Begemann writes:
In the shorthand syntax, raw values can only be
String
,Character
, or any integer or floating-point number type … TheRawRepresentable
protocol has no such limitation.
Ole Begemann writes:
In the shorthand syntax, raw values can only be
String
,Character
, or any integer or floating-point number type … TheRawRepresentable
protocol has no such limitation.