Instance Method

hide:

Hides all the receiver’s windows, and the next app in line is activated.

Declaration

- (void)hide:(id)sender;

Parameters

sender

The object that sent the command.

Discussion

This method is usually invoked when the user chooses Hide in the app’s main menu. When this method begins, it posts an NSApplicationWillHideNotification to the default notification center. When it completes successfully, it posts an NSApplicationDidHideNotification.

See Also

Hiding Windows

hidden

A Boolean value indicating whether the app is hidden.

- unhide:

Restores hidden windows to the screen and makes the receiver active.

- unhideWithoutActivation

Restores hidden windows without activating their owner (the receiver).