如何隐藏/关闭NSWindowController及其视图?

问题描述

| 我想隐藏视图并带有一个选项,以便以后再次显示。 我使用showWindow使窗口可见。如何使窗口不可见?     

解决方法

        
-[NSWindow orderOut:]