Posts

Showing posts with the label ibdesignable

Make UIButton accessible in Interface Builder

Image
Make UIButton accessible in Interface Builder I'm working on a little project which adds a little bar on the bottom of the screen, similar to UITabBar (see screenshot below). It's an @IBDesignable class. The blue boxes you can see are buttons with placeholder images. Now my question is, can I somehow open up these buttons to the IB as well? Like when I click one of the boxes I get the attribute inspector for that specific button? Thanks in advance UITabBar @IBDesignable Well, if every button has it's own xib, you can edit them there. – Sulthan Jul 1 at 11:02 1 Answer 1 Sorry I miss understood the question. No you can't have a UIButton as an attribute in the interface builder. I believe @IBInspectable only supports a certain group of typ...