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.
我在窗口控制器文件中为 NSTextView 创建了一个插座属性。然后,我创建了一个单独的窗口 xib 文件,其中包含 NSTextView。如何将 xib 文件中的视图对象链接到窗口控制器文件中的插座?
将 xib 文件中文件所有者的类更改为窗口控制器文件的类,然后插座将显示在文件所有者下,您可以从那里连接它。