与 3.2 相比,在 XCode 4.1 中向 NIB 添加自定义对象要复杂得多

发布于 2024-12-05 14:52:29 字数 254 浏览 5 评论 0原文

在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

缘字诀 2024-12-12 14:52:29

事情的典型工作方式是,事情越简单,您可以进行的定制就越少。我同意我不喜欢新的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文