 import SwipeCellKit
 
 class BookmarksViewController: UITableViewController,
-    UISearchBarDelegate,
+    UISearchResultsUpdating,
     PrimaryViewController,
     SwipeTableViewCellDelegate,
 TabNavRootViewControllerType {

    // MARK: - Private API

    private func configureSearchBar() {
        if #available(iOS 11.0, *) {
            navigationController?.navigationBar.prefersLargeTitles = true
            navigationItem.searchController = searchController
            navigationItem.hidesSearchBarWhenScrolling = false
        } else {
            tableView.tableHeaderView = searchController.searchBar
        }

    private let cellIdentifier = "bookmark_cell"
    private let bookmarkStore:BookmarksStore

    private var searchController: UISearchController = UISearchController(searchResultsController:nil)
    
    private var filteredBookmarks: [BookmarkModel]?

