SearchView
class SearchView : UIView, UITextFieldDelegate
The view for search Bar
-
This is a
UItextFieldused to input the search contentDeclaration
Swift
@IBOutlet var inputField: UITextField! -
Undocumented
Declaration
Swift
var suggestions: [String]
-
Cusomise the view
Declaration
Swift
func customisation() -
HIde search View
Declaration
Swift
@IBAction func hideSearchView(_: Any)
-
Asks the delegate if the text field should process the pressing of the return button.
Declaration
Swift
func textFieldShouldReturn(_ textField: UITextField) -> BoolParameters
textFieldThe text field whose return button was pressed.
Return Value
trueif the text field should implement its default behavior for the return button; otherwise,false.
-
Prepares the receiver for service after it has been loaded from an Interface Builder archive, or nib file.
Declaration
Swift
override func awakeFromNib()
SearchView Class Reference