Instance Property
unicodeScalars
The Unicode scalars associated with the glyph in their assignment order.
Not available in Objective-C.Not available in Python.
Declaration
var unicodeScalars: [Unicode.Scalar] { get set }Discussion
Stored values that are not valid Unicode scalar values are omitted.
See Also
Unicode and Characters
The Unicode code points associated with the glyph, as an ordered set of uppercase hexadecimal strings.
The number of associated Unicode code points.
The first Unicode code point associated with the glyph, as an uppercase hexadecimal string.
The first associated Unicode value as a scalar, or
nilwhen it is missing or invalid.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.