BaseUILabel

open class BaseUILabel: UILabel, BaseView

BaseUILabel is a subclass of UILabel and implements BaseView. It extents UILabel 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
  • Undocumented

    Declaration

    Swift

    open class BaseUILabel: UILabel, BaseView
  • Font name key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var fontName:String = "fontRegular"
  • Font size/style key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var fontStyle:String = "medium"
  • Font color key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var fontColorStyle:String? = nil
  • Undocumented

    Declaration

    Swift

    open class BaseUILabel: UILabel, BaseView
  • Overridden constructor to setup/ initialize components.

    Parameter

    Parameter frame: View frame

    Declaration

    Swift

    public override init(frame: CGRect)

    Parameters

    frame

    View frame

  • Required method implemented

    Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Overridden method to setup/ initialize components.

    Declaration

    Swift

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

    Declaration

    Swift

    override open func layoutSubviews()