PUImageView

@IBDesignable
open class PUImageView : UIImageView, PUInspectable

PowerUpSwift: The subclass of UIImageView that allows the editing of additional UIKit properties via the Interface Builder.

Inspectables

  • Declaration

    Swift

    @IBInspectable
    open var cornerRadius: CGFloat { get set }
  • Declaration

    Swift

    @IBInspectable
    open var borderWidth: CGFloat { get set }
  • Declaration

    Swift

    @IBInspectable
    open var borderColor: UIColor? { get set }
  • Declaration

    Swift

    @IBInspectable
    open var shadowRadius: CGFloat { get set }
  • Declaration

    Swift

    @IBInspectable
    open var shadowOpacity: Float { get set }
  • Declaration

    Swift

    @IBInspectable
    open var shadowOffset: CGSize { get set }
  • Declaration

    Swift

    @IBInspectable
    open var shadowColor: UIColor? { get set }