What is the IBDesignable & IBInspectable in iOS?

Interface Builder use IBDesignable and IBInspectable to render and configurable custom view.The IBDesignable attribute is responsible to identifier the class inherits from the UIView that will render in Interface Builder. IBInspectable is another attribute that can be used to configure your UI components.

What is the Category & Extension in iOS?

Category is supported by Objective-C and Extension belongs to swift both have same objective to give additional functionality to existing class without changing its source code and subclassing.

Back to Top