Unicode
A namespace for Unicode utilities.
@frozen enum Unicode
Citizens in Swift
Conformances
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Members
enum ASCII
struct CanonicalCombiningClass
The classification of a scalar used in the Canonical Ordering Algorithm defined by the Unicode Standard.
enum GeneralCategory
The most general classification of a Unicode scalar.
enum NumericType
The numeric type of a scalar.
enum ParseResult
The result of attempting to parse a
T
from some input.struct Scalar
A Unicode scalar value.
enum UTF16
enum UTF32
enum UTF8
typealias Encoding
typealias Parser
typealias Version
A version of the Unicode Standard represented by its major and minor components.
Available in _RegexParser
Members
enum BinaryProperty
A list of Unicode properties that can either be true or false.
enum Block
A list of unicode character blocks, including
No_Block
. https://www.unicode.org/Public/UCD/latest/ucd/Blocks.txtenum ExtendedGeneralCategory
Unicode.GeneralCategory + cases for “meta categories” such as “L”, which encompasses Lu | Ll | Lt | Lm | Lo.
enum POSIXProperty
POSIX character properties not already covered by general categories or binary properties.
enum Script
Character script types.