UISearchBar
extension Reactive where Base: UISearchBar
The reactive extension can be accessed through the reactive instance property and the reactive static property.
-
Sets the text of the search bar.
Declaration
Swift
public var text: BindingTarget<String?> -
A signal of text values emitted by the search bar upon end of editing.
Note
To observe text values that change on all editing events, seecontinuousTextValues.Declaration
Swift
public var textValues: Signal<String?, NoError> -
A signal of text values emitted by the search bar upon any changes.
Note
To observe text values only when editing ends, seetextValues.Declaration
Swift
public var continuousTextValues: Signal<String?, NoError>
UISearchBar Reactive Extension Reference