SearchTransactionsController
final class SearchTransactionsController : NSObject
extension SearchTransactionsController: UITableViewDelegate, UITableViewDataSource
Search transactions controller.
Note
Find transactions with the same name and display the results in a small table view.-
Search transaction view model.
Declaration
Swift
let viewModel: SearchTransactionViewModel
-
The view associated with this controller.
Declaration
Swift
unowned let owner: UIView
-
Search text field input.
Declaration
Swift
weak var textField: UITextField?
-
Completion event when category is selected.
Declaration
Swift
var onSelectedCategory: ((Category) -> Void)?
-
Creates a
SearchTransactionsController
instance.Declaration
Swift
init(owner: UIView, textField: UITextField)
Parameters
owner
UIView
instance owner of this instance.textField
Search text field that will be stored weakly.