Protocol

NSLayoutManagerDelegate

A set of optional methods implemented by delegates of NSLayoutManager objects.

Declaration

protocol NSLayoutManagerDelegate

Topics

Invalidating Glyphs and Layout

Handling Layout for Text Containers

func layoutManager(NSLayoutManager, didCompleteLayoutFor: NSTextContainer?, atEnd: Bool)

Informs the delegate that the given layout manager has finished laying out text in the given text container.

func layoutManager(NSLayoutManager, textContainer: NSTextContainer, didChangeGeometryFrom: CGSize)

Sent right before the layout manager invalidates layout due to the text container changing geometry.

Relationships

Inherits From

See Also

Layout

class NSLayoutManager

An object that coordinates the layout and display of characters held in an NSTextStorage object.

protocol NSTextLayoutOrientationProvider

A set of methods that define the orientation of text for an object.