Download Sources/DesignableUI folder to your project manually
or
Use Swift Package Manager to add dependency to your project. But IBDesignable classed not from the project not going to build in Interface Builder
Helpful UI extension for Interface builder.
- DesignableView
- DesignableLabel
- DesignableButton
- DesignableImageView
- DesignableBlurView
Common property for every class
Property | Type | Description |
---|---|---|
corner | Int | Make rounded corners for view. Clips to bounds needs to be set TRUE in interface builder |
rotation | CGFloat | Rotation angle in degrees |
DesignableBlurView
Property | Type | Description |
---|---|---|
style | UIBlurEffect.Style | Blur style. Range 0-4 |
DesignableLabel
Property | Type | Description |
---|---|---|
lineHeight | Int | Height of text between lines |