Xcode 4 and BWToolKit

只愿长相守 提交于 2019-11-29 03:12:48
Regexident

Note (added Oct 26, 2011): This answer is somewhat outdated now. See comments.

Xcode 4 (as of time of this writing) does not support IBPlugins at all.
You'll need to install Xcode 3 and its Interface Builder to edit nibs with IBPlugins.
(Be careful installing Xcode3 though, as it might overwrite your Xcode4 unwantedly)

So in short: use Xcode3's IB for editing IBPlugin-infected nibs and Xcode4 for al the rest.

To my knowledge there has not been a public announcement/statement gegarding IBPlugins and whether to still stick to them, or not. ast time I checked (day after Xcode4's release) documentation on IBPlugin still existed and I couldn't find any mark on deprecation (or strangely enough not even Xcode4 incompatibilities) either.

For more info, let me quote from Martin Pilkington's great Xcode4 review:

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

From what I've read, existing plugins won't work, or will be very unstable. The consensus on this seems to be that if you rely on plugins, stick with Xcode3 for the time being.

The folder: /Developer/Platforms/MacOSX.platform/Developer/Library/Interface Builder/Plug-ins/ has a bunch of '*.ibplugin's. Don't know what that means.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!