Instance Method


Informs the delegate that the given layout manager has invalidated layout information (not glyph information).


optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager)



The layout manager that invalidated layout.


This method is invoked only when layout was complete and then became invalidated for some reason. Delegates can use this information to show an indicator of background layout or to enable a button that forces immediate layout of text.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software