Protocol

NSLayoutManagerDelegate

A set of optional methods implemented by delegates of layout manager objects.

Declaration

protocol NSLayoutManagerDelegate

Topics

Responding to Text Container Layout

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

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

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

Informs the delegate that the layout manager will invalidate layout due to a change in the geometry of the specified text container.

Relationships

Inherits From

See Also

Layout

class NSLayoutManager

An object that coordinates the layout and display of text characters.

protocol NSTextLayoutOrientationProvider

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