Question: what is ibdesignable swift 4?
Answer: IBDesignable and IBInspectable are attributes used by Interface Builder, which are used to render elements directly in Interface Builder, for a specific attributes like border colors/widths/shadows configured live in storyboard. For example create a swift class file 'VBUIDesign' with UIView, UIButton class extensions.