Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当一个按钮被点击时,你如何让一个按钮在同一个 Nib 文件中显示一个窗口?对不起,如果这是模糊的。
将按钮的操作设置为makeKeyAndOrderFront:以另一个窗口为目标。
makeKeyAndOrderFront: