Returns the glyph at the specified index.
- iOS 7.0–9.0Deprecated
- macOS 10.0–10.11Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–9.0Deprecated
The index of a glyph in the receiver. This value must not exceed the bounds of the receiver’s glyph array.
The glyph at
glyph is out of bounds.
Performs glyph generation if needed. To avoid an exception with
glyph(at:) you must first check the glyph index against the number of glyphs, which requires generating all glyphs. Another method,
glyph(at:, generates glyphs only up to the one requested, so using it can be more efficient.