Instance Method

windowWillReturnFieldEditor(_:to:)

Tells the delegate that the field editor for a text-displaying object has been requested.

Declaration

optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any?

Parameters

sender

The window requesting the field editor from the delegate.

client

A text-displaying object to be associated with the field editor. If nil, the requested field editor is the default.

Return Value

The field editor for client; returns nil when the delegate has no field editor to assign.

See Also