Instance Method

layoutManagerOwnsFirstResponder(in:)

Indicates whether the first responder in the given window is a text view associated with the receiver.

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

var firstTextView: NSTextView?

The first text view in the receiver’s series of text views.

var textViewForBeginningOfSelection: NSTextView?

The text view containing the first glyph in the selection.