Preparing custom view for Interface Builder - @IBDesignable and @IBInspectable
If you use Storyboards or Xibs, there is added benefit when the preview of your custom view is rendered right in Xcode. We can achieve that using @IBDesignable and @IBInspectable. @IBInspectable make property