Make your custom view’s properties available in Storyboards

Let’s say you want to configure some parts of your view rendering directly in your storyboards.  Fortunately you can by using @IBInspectable.


Result in Xcode

Screen Shot 2016-06-14 at 3.34.17 PM


Screen Shot 2016-06-14 at 3.34.13 PM

Here is the project ( Xcode 8, Swift 3) if you want to try it : IBInspectableDemo

That’s it folks, have a good day !