A Unicode scalar value.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
Overview
The Unicode
type, representing a single Unicode scalar value, is the element type of a string’s unicode
collection.
You can create a Unicode
instance by using a string literal that contains a single character representing exactly one Unicode scalar value.
You can also create Unicode scalar values directly from their numeric representation.