SearchViewableDataSource
final public class SearchViewableDataSource: iViewableDataSource
Allows full text search for Viewables
-
Allows full text search for
Viewables
Declaration
Swift
public fileprivate(set) var state: Bindable<DataSourceState<Viewable>> = Bindable(.idle)
-
Cancels current request
Declaration
Swift
public func startRequest()
-
Cancels current request
Declaration
Swift
public func cancelRequest()
-
Fires a search request and updates state based on result/errors.
Declaration
Swift
public func search(query: String)