Contents

init(typeIdentifier:value:)

Creates an enumeration with a typed raw value.

Declaration

init(typeIdentifier: String, value: any LosslessStringConvertible)

Parameters

  • typeIdentifier:

    The enumeration type identifier.

  • value:

    The raw, typed value that gets converted to a string representation.

See Also

Creating an enum