Skip to content

ChaseStas/DesignableUI

Repository files navigation

DesignableUI

Installation

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

Usage

Helpful UI extension for Interface builder.

  1. DesignableView
  2. DesignableLabel
  3. DesignableButton
  4. DesignableImageView
  5. 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

About

UI classes for realtime updates in Interface Builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages