BaseUIImageView

open class BaseUIImageView: UIImageView, BaseView

BaseUIImageView is a subclass of UIImageView and implements BaseView. It extents UIImageView with some extra proporties and supports SyncEngine.

  • Flag for whether to resize the values for iPad.

    Declaration

    Swift

    @IBInspectable open var sizeForIPad:Bool = false;
  • Background color key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var bgColorStyle:String? = nil
  • Width of View Border.

    Declaration

    Swift

    @IBInspectable open var border:Int = 0
  • Border color key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var borderColorStyle:String? = nil
  • Corner Radius for View.

    Declaration

    Swift

    @IBInspectable open var cornerRadius:Int = 0
  • Flag for making circle/rounded view.

    Declaration

    Swift

    @IBInspectable open var rounded:Bool = false
  • Flag for Drop Shadow.

    Declaration

    Swift

    @IBInspectable open var hasDropShadow:Bool = false
  • Overridden method to setup/ initialize components.

    Declaration

    Swift

    override open func awakeFromNib()
  • Overridden methed to update layout.

    Declaration

    Swift

    override open func layoutSubviews()