BaseUISearchController
open class BaseUISearchController: UISearchController
BaseUISearchController is a subclass of UISearchController. 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 -
Search text field background color key from Sync Engine.
Declaration
Swift
@IBInspectable open var fontBgColorStyle:String? = nil -
Search tint color key from Sync Engine.
Declaration
Swift
@IBInspectable open var tintColorStyle:String? = nil -
Search bar tint color key from Sync Engine.
Declaration
Swift
@IBInspectable open var barTintColorStyle: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 -
Inspectable property for search bar icon image.
Declaration
Swift
@IBInspectable open var searchBarIcon:UIImage? = nil -
placeholder text propery to set text from SyncEngine (Hint ’#’ prefix).
Declaration
Swift
open var placeholder: String?
-
Overridden constructor to setup/ initialize components.
- Parameters:
- nibNameOrNil: Nib Name
- nibBundleOrNil: Nib Bundle Name
Declaration
Swift
override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)Parameters
nibNameOrNilNib Name
nibBundleOrNilNib Bundle Name
- Parameters:
-
Overridden constructor to setup/ initialize components.
- Parameters:
- searchResultsController: Search Results View Controller
Declaration
Swift
override public init(searchResultsController: UIViewController?)Parameters
searchResultsControllerSearch Results View Controller
- Parameters:
-
Required constructor implemented.
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Overridden method to setup/ initialize components.
Declaration
Swift
override open func awakeFromNib()
View on GitHub
BaseUISearchController Class Reference