Contents

close(_:)

An action method to close the receiver.

Declaration

func close(_ sender: Any?)

Parameters

  • sender:

    A user interface element, such as a button or menu item, that invokes the action method.

Discussion

This method is an action method and likely would not be invoked programatically. Rather, it is an action that is commonly connected in Interface Builder.

See Also

Opening and Closing Drawers