Minimizing Windows

When a user minimizes a window, it’s removed from the screen and replaced with a smaller counterpart in the Dock.

The miniaturize: and deminiaturize: methods reduce and reconstitute a window, and performMiniaturize: simulates the user clicking the window’s minimize button. You can also set the image and title displayed in a freestanding mini-window by sending setMiniwindowImage: and setMiniwindowTitle: messages to the NSWindow object.