与 3.2 相比,在 XCode 4.1 中向 NIB 添加自定义对象要复杂得多
在 XCode 3.2 中,IB 在库中有一个类选项卡,可让您将自己的类添加到 nib 文件中。但在 XCode 4.1 中,该选项卡消失了。对象库中有一个名为“自定义对象”的项目,但我从未弄清楚如何使用它。
因此,在 XCode 4.1 中,如果我想将自己的类添加到 nib,我必须拖动通用对象,然后在身份检查器中更改它。太复杂了,一点也不简单。
有人知道为什么 xcode 4.1 引入了这个更改吗?
谢谢。
In XCode 3.2, IB has a Classes tab in the Library to let you add your own class to nib file. But in XCode 4.1 that tab is disappeared. There is an item called "Custom Objects" in object library but I never figure out how to use it.
So in XCode 4.1 if I want to add my own class to nib I have to drag general object then change it in Identity inspector. Way too much complicated and not straightforward at all.
Anyone knows why xcode 4.1 introduced this change ?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事情的典型工作方式是,事情越简单,您可以进行的定制就越少。我同意我不喜欢新的 IB,尽管它确实为更多定制留出了空间。
The typical way things work is the more simple something is, the less customization you can do. I agree I dislike the new IB, although it does make room for more customization.