Skip to content

EagerLayoutManager

fumoboy007 edited this page Nov 27, 2020 · 2 revisions

EagerLayoutManager

An NSLayoutManager subclass that performs layout immediately whenever text changes or whenever the geometry of a text container changes.

open class EagerLayoutManager: NSLayoutManager, EagerLayoutManaging

Inheritance

EagerLayoutManaging, NSLayoutManager

Initializers

init()

public override init()

init?(coder:)

public required init?(coder: NSCoder)

Properties

didCompleteLayoutNotification

let didCompleteLayoutNotification

textStorage

var textStorage: NSTextStorage?

Methods

textContainerChangedGeometry(_:)

open override func textContainerChangedGeometry(_ container: NSTextContainer)

performFullLayout()

open func performFullLayout()