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.
我正在尝试使用 setToolBar: 方法将 NSToolBar 设置为我的窗口,但它会导致崩溃。由于方法的参数不是 nil 并且要设置工具栏的窗口也不是 nil。谢谢!