NSLayoutManagerDelegate
A set of optional methods that delegates of layout manager objects implement.
Declaration
protocol NSLayoutManagerDelegate : NSObjectProtocolTopics
Invalidating glyphs and layout
layoutManagerDidInvalidateLayout(_:)layoutManager(_:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:)layoutManager(_:shouldUse:forControlCharacterAt:)NSLayoutManager.ControlCharacterAction
Responding to text container layout
Handling line fragments
layoutManager(_:shouldBreakLineByHyphenatingBeforeCharacterAt:)layoutManager(_:shouldBreakLineByWordBeforeCharacterAt:)layoutManager(_:lineSpacingAfterGlyphAt:withProposedLineFragmentRect:)layoutManager(_:paragraphSpacingAfterGlyphAt:withProposedLineFragmentRect:)layoutManager(_:paragraphSpacingBeforeGlyphAt:withProposedLineFragmentRect:)layoutManager(_:boundingBoxForControlGlyphAt:for:proposedLineFragment:glyphPosition:characterIndex:)layoutManager(_:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:in:forGlyphRange:)