BaseUISearchBar

open class BaseUISearchBar: UISearchBar, BaseView

BaseUISearchBar is a subclass of UISearchBar 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
  • Undocumented

    Declaration

    Swift

    open class BaseUISearchBar: UISearchBar, BaseView
  • Undocumented

    Declaration

    Swift

    open class BaseUISearchBar: UISearchBar, BaseView
  • Undocumented

    Declaration

    Swift

    open class BaseUISearchBar: UISearchBar, BaseView
  • 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
  • Inspectable propery for Search bar icon.

    Declaration

    Swift

    @IBInspectable open var searchBarIcon:UIImage? = nil
  • Overridden property to update text from SyncEngine (Hint ’#’ prefix).

    Declaration

    Swift

    override open var placeholder: String?
  • Overridden constructor to setup/ initialize components.

    Parameter

    Parameter frame: View frame

    Declaration

    Swift

    override public init(frame: CGRect)

    Parameters

    frame

    View frame

  • Required constructor implemented.

    Declaration

    Swift

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

    Declaration

    Swift

    override open func awakeFromNib()