Xcode & iOS - Create Plugins?

2019-06-21 13:39发布

问题:

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.