We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SearchUICommand.resynchronizeModels
1 parent 267e69a commit 065b3b6Copy full SHA for 065b3b6
WooCommerce/Classes/ViewRelated/Search/SearchUICommand.swift
@@ -11,6 +11,7 @@ protocol SearchUICommand {
11
var searchBarPlaceholder: String { get }
12
13
/// A closure to resynchronize models if the data source might change (e.g. when the filter changes in products search).
14
+ /// Set externally to enable resyncing the models when needed. Otherwise, an empty closure can be set by default.
15
var resynchronizeModels: (() -> Void) { get set }
16
17
associatedtype ResultsControllerModel: ResultsControllerMutableType where ResultsControllerModel.ReadOnlyType == Model
0 commit comments