Contents

init(layoutManager:range:)

Initializes and returns a text drag preview renderer with the specified layout managers and range to render the text drag preview.

Declaration

convenience init(layoutManager: NSLayoutManager, range: NSRange)

Parameters

  • layoutManager:

    The layout manager that renders the text drag preview.

  • range:

    The range to render the text drag preview.

Return Value

A renderer of a text drag preview using the specified layout manager and range.

See Also

Initializing a text drag preview renderer