Returns the hyphen character to be inserted after the specified glyph.
SDK
- macOS 10.4+
Framework
- App
Kit
Declaration
func hyphenCharacter(forGlyphAt glyphIndex: Int) -> UTF32Char
Parameters
glyphIndex
The index of the glyph in question.
Return Value
The hyphen character to be inserted after the glyph at glyph
.
Discussion
The typesetter calls this method before hyphenating. A subclass can override this method to return a different hyphen glyph.