Instance Property
primaryUnicodeScalar
The first associated Unicode value as a scalar, or nil when it is missing or invalid.
Not available in Objective-C.Not available in Python.
Declaration
var primaryUnicodeScalar: Unicode.Scalar? { get set }See Also
Unicode and Characters
The Unicode code points associated with the glyph, as an ordered set of uppercase hexadecimal strings.
The Unicode scalars associated with the glyph in their assignment order.
The number of associated Unicode code points.
The first Unicode code point associated with the glyph, as an uppercase hexadecimal string.
The numeric value of the first associated Unicode code point, or
0when there is none.The character for the first associated Unicode code point, or an empty string when this convenience API cannot represent it.
Adds a Unicode code point while preserving the existing code points.
Adds a Unicode scalar while preserving the existing assignments.
Removes a Unicode code point while preserving the order of the remaining code points.
Removes a Unicode scalar while preserving the order of the remaining assignments.
Assigns Unicode code points without updating related state.
Checks whether a string uses the uppercase hexadecimal syntax for a Unicode code point.
The Unicode string represented by the glyph’s character composition.