IOS Artilces

How to render the custom UIView in interface builder (StoryBoard or xib) iOS ?

It’s possible to build a custom interface for configuring your custom controls and have them rendered in real-time while designing your project.

Yes, we can design the custom control in interface  builder with help of IBInspectable and IBDesignable.


IBDesignable custom views also debut in Xcode 6. When applied to a UIView or NSView subclass, the @IBDesignable designation lets Interface Builder know that it should render the view directly in the canvas.