Enumeration Caseswift 6.0.1Swift
letterNumber
A letter-like numeric character.
case letterNumber
This value corresponds to the category Letter_Number
(abbreviated Nl
) in the Unicode Standard.
Other cases
case closePunctuation
A closing punctuation mark of a pair.
case connectorPunctuation
A connecting punctuation mark, like a tie.
case control
A C0 or C1 control code.
case currencySymbol
A currency sign.
case dashPunctuation
A dash or hyphen punctuation mark.
case decimalNumber
A decimal digit.
case enclosingMark
An enclosing combining mark.
case finalPunctuation
A final quotation mark.
case format
A format control character.
case initialPunctuation
An initial quotation mark.
case lineSeparator
A line separator, which is specifically (and only) U+2028 LINE SEPARATOR.
case lowercaseLetter
A lowercase letter.
case mathSymbol
A symbol of mathematical use.
case modifierLetter
A modifier letter.
case modifierSymbol
A non-letterlike modifier symbol.
case nonspacingMark
A non-spacing combining mark with zero advance width (abbreviated Mn).
case openPunctuation
An opening punctuation mark of a pair.
case otherLetter
Other letters, including syllables and ideographs.
case otherNumber
A numeric character of another type.
case otherPunctuation
A punctuation mark of another type.
case otherSymbol
A symbol of another type.
case paragraphSeparator
A paragraph separator, which is specifically (and only) U+2029 PARAGRAPH SEPARATOR.
case privateUse
A private-use character.
case spaceSeparator
A space character of non-zero width.
case spacingMark
A spacing combining mark with positive advance width.
case surrogate
A surrogate code point.
case titlecaseLetter
A digraph character whose first part is uppercase.
case unassigned
A reserved unassigned code point or a non-character.
case uppercaseLetter
An uppercase letter.