BaseUITextView

open class BaseUITextView: UITextView, BaseView

BaseUITextView is a subclass of UITextView and implements BaseView. It has some extra proporties and support for 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
  • 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
  • Placeholder text font color key from Sync Engine.

    Declaration

    Swift

    @IBInspectable open var placeholderColorStyle:String? = nil
  • Sete placeholder text from SyncEngine (Hint ’#’ prefix).

    Declaration

    Swift

    @IBInspectable open var placeholder:String?
  • Undocumented

    Declaration

    Swift

    open class BaseUITextView: UITextView, BaseView
  • Overridden method to setup/ initialize components.

    • Parameters:
      • frame: View Frame
      • textContainer: Text Container

    Declaration

    Swift

    override public init(frame: CGRect, textContainer: NSTextContainer?)

    Parameters

    frame

    View Frame

    textContainer

    Text Container

  • Required constructor implemented.

    Declaration

    Swift

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

    Declaration

    Swift

    override open func awakeFromNib()
  • Undocumented

    Declaration

    Swift

    open class BaseUITextView: UITextView, BaseView