Initializer

init(_:)

Creates a duplicate of the given Unicode scalar.

Declaration

init(_ v: Unicode.Scalar)

See Also

Creating a Scalar

init(UInt8)

Creates a Unicode scalar with the specified numeric value.

init?(UInt32)

Creates a Unicode scalar with the specified numeric value.

init?(UInt16)

Creates a Unicode scalar with the specified numeric value.

init?(Int)

Creates a Unicode scalar with the specified numeric value.

init(unicodeScalarLiteral: Unicode.Scalar)

Creates a Unicode scalar with the specified value.

init?(String)

Instantiates an instance of the conforming type from a string representation.