init(extendedGraphemeClusterLiteral:)
Creates a character with the specified value.
Declaration
init(extendedGraphemeClusterLiteral value: Character)Discussion
Do not call this initializer directly. It is used by the compiler when you use a string literal to initialize a Character instance. For example:
let oBreve: Character = "o\u{306}"
print(oBreve)
// Prints "ŏ"The assignment to the oBreve constant calls this initializer behind the scenes.