Declaration

var unicodes: NSOrderedSet? { get set }

Declaration

@property (nonatomic, strong) NSOrderedSet * unicodes;

Declaration

pyobjc_instanceMethods.unicodes() -> NSOrderedSet
pyobjc_instanceMethods.setUnicodes_(unicodes: NSOrderedSet)

Discussion

Most glyphs have zero or one Unicode code point, but a glyph can have several. The first value is the primary Unicode code point used by singular convenience properties such as unicode and unicodeChar. Glyph information can assign Unicode code points when the glyph name changes. Use this property or the Unicode mutation methods instead of modifying the returned set directly.

See Also

Unicode and Characters

  • 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 first associated Unicode value as a scalar, or nil when it is missing or invalid.

  • The numeric value of the first associated Unicode code point, or 0 when 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.

See Also

Unicode and Characters