Creates a Unicode scalar with the specified value.
- Xcode 9.0+
- Swift Standard Library
Do not call this initializer directly. It may be used by the compiler when you use a string literal to initialize a
In this example, the assignment to the
letter constant is handled by this initializer behind the scenes.