Contents

layoutManagerOwnsFirstResponder(in:)

Indicates whether the first responder in the specified window is a text view for the layout manager.

Declaration

func layoutManagerOwnsFirstResponder(in window: NSWindow) -> Bool

Parameters

  • window:

    The window whose first responder is tested.

Return Value

true if the first responder in window is a text view associated with the receiver; otherwise, false.

See Also

Managing the responder chain