objective-c - Xcode 4 和 BWToolKit

标签 objective-c xcode cocoa xcode4 bwtoolkit

我们可以在 Xcode 4 中使用 BWToolKit 或任何其他 IB 插件吗?

我的旧项目使用 BWToolKit,现在没有 Interface Builder 就无法打开它。

最佳答案

注意(2011 年 10 月 26 日添加):这个答案现在有些过时了。查看评论。

Xcode 4(截至撰写本文时)根本不支持 IBPlugins。
您需要安装 Xcode 3 及其 Interface Builder 才能使用 IBPlugins 编辑 nib。
(尽管安装 Xcode3 时要小心,因为它可能会意外地覆盖你的 Xcode4)

简而言之:使用 Xcode3 的 IB 编辑受 IBPlugin 感染的 nib,其余部分使用 Xcode4。

据我所知,还没有关于 IBPlugins 以及是否仍然坚持使用它们的公开声明/声明。上次我检查(Xcode4 发布后的第二天)关于 IBPlugin 的文档仍然存在,我也找不到任何关于弃用的标记(或者奇怪的是,甚至没有 Xcode4 不兼容)。

有关更多信息,请让我引用 Martin Pilkington 对 Xcode4 的精彩评论:

Loss of IBPlugins:
For all the cool new hotness in Xcode 4, there is one big gaping hole in its functionality. IBPlugins cannot be loaded and as such any NIBs that rely on components from them cannot be edited. They can be compiled, but only if you have Xcode 3 and IB 3 still installed. This is a major missing component, though it isn't unexpected. A line has to be drawn at some point in order to say "this is the first version we'll ship" and IBPlugins are likely one of the things that didn't make the cut for 4.0. Of course the big issues with IBPlugins is they don't work with iOS. My hope is that they're missing because Apple is working on an improved system and would rather leave it out of 4.0 than ship a half implemented solution. That said I hope they don't completely replace the IBPlugin system as it is incredibly powerful and one of the nicest plugin systems I've coded for.

Read full article

关于objective-c - Xcode 4 和 BWToolKit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5368878/

相关文章:

iphone - 附加 XCode 调试器

objective-c - 如何使用 Cocoa 在 PDF 中生成网格?

ios - AFNetworking 2.0 发送带 URL 参数的 Post 请求

iphone - 如何从 AVPlayer(不是 AVAudioPlayer)获取持续时间?

objective-c - UIAlertView 关闭后如何重新加载 View ?

objective-c - ASIHttp 框架的 Apple Mach-O 链接器 (Id) 错误

objective-c - Xcode - 如何使用项目模板创建简单的 Objective-C 应用程序?

swift - 在 Cocoa OS X AVPlayer 中播放 HLS (m3u8) - Swift

objective-c - 使用 CGAffineTransformMakeRotation 以相同的中心点旋转 UIImageView

objective-c - Apple 魔术鼠标 API