CardView

open class CardView : UIView

Create shadows card ‘layer’ view

  • cornerRadius of view, by default 4.0

    Declaration

    Swift

    open var cornerRadius: CGFloat
  • shadowOffsetWidth by default 0.0

    Declaration

    Swift

    open var shadowOffsetWidth: CGFloat
  • shadowOffsetHeight by default 2.0

    Declaration

    Swift

    open var shadowOffsetHeight: CGFloat
  • shadowColor, by default black

    Declaration

    Swift

    open var shadowColor: UIColor
  • shadowOpacity, by default 0.5

    Declaration

    Swift

    open var shadowOpacity: Float