Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create custom Interface Builder plugins for the iPhone?

I'm just getting started with iPhone development, and I'd like to be able to create custom user interface elements that you can drag-and-drop into the application in Interface Builder. How do you create custom plugins like this for Interface Builder for the iPhone?

like image 216
priyanka Avatar asked May 08 '10 04:05

priyanka


1 Answers

I'm pretty sure Interface Builder plugins are not (yet?) supported for iPhone OS, so what you want is not possible at the moment. You can instantiate custom objects from IB by placing a plain UIView in your interface and setting its class to your custom control's class. But all the user would see in IB would be an empty rectangle and all customization would have to be done in code.

like image 117
Ole Begemann Avatar answered Oct 20 '22 00:10

Ole Begemann