Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you get a custom object to show up in the Interface Builder object palette?

I have been trying to create a custom object and have it appear in the object palette so I can drag and drop it into the .xib file when I am building an iOS app. I cannot find any tutorials or instructions online on how to do this; did Apple remove this functionality? Any help would be greatly appreciated.

like image 966
nmeriwether Avatar asked Jan 18 '26 09:01

nmeriwether


1 Answers

You can't add custom plugins when using the iOS platform. This is possible for normal MacOS development but sadly not for iOS. If however you have a UIView descendent for example, drag a normal UIView onto the screen and change the class to your custom class to use it HOWEVER you will get no design-time view of the custom control.... :(

like image 187
Simon Lee Avatar answered Jan 20 '26 02:01

Simon Lee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!