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.
因此,我有一个 NSTabView,其中包含许多彼此几乎相同的 NSTabViewItem。从逻辑上讲,我认为制作模板并根据需要多次复制可能会更好。但事实证明它并不像我希望的那样简单。
我发现将 NSTabViewItem 的副本从 NSTabView 添加到同一个 NSTabView中,这或多或少地回答了这个问题,除了该方法不会在我的新视图中保留绑定(或者可能是连接)。
有没有办法做到这一点,以保存一切?