Is it possible to create custom UIViews that can be used as plugins on interface builder? So I can drag and drop them on interface bulder and see how the actual view looks like without havig to run the code to see the view.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
It was possible to create plugins for older versions of Interface Builder, but I don't believe it's currently possible in Xcode 4. If you'd like that feature, the best thing to do is to file a bug report with Apple asking for it.
回答2:
No, Interface Plug-ins is not yet supported by Xcode 4, never was for iOS on older Xcode 3.x.
File a feature request at http://bugreport.apple.com to put more pressure on this issue.