 
 final class RBSRealmObjectsBrowser: UIViewController, UIViewControllerPreviewingDelegate {
     private var objects: Results<DynamicObject>?
-    private var properties: [Property] = []
-    private var filteredProperties: [Property] = []
-    private var filteredObjects: [Object] = []
     private var isEditMode: Bool = false
     private var selectAll: Bool = false
-    private var selectedObjects: [Object] = []
+    private var selectedIndexPaths: [IndexPath] = []
+    private var filteredObjects: LazyFilterSequence<Results<DynamicObject>>?
 
     private lazy var viewRealm: RBSRealmBrowserView = {
         let view = RBSRealmBrowserView()

            searchController.searchResultsUpdater = self
            searchController.searchBar.delegate = self
            searchController.delegate = self
            searchController.hidesNavigationBarDuringPresentation = false
            searchController.definesPresentationContext = true
            searchController.dimsBackgroundDuringPresentation = false

        super.init(nibName: nil, bundle: nil)

        title = className
        //        let bbi = UIBarButtonItem(title: "Select", style: .plain, target: self, action: .edit)
        //        navigationItem.rightBarButtonItem = bbi
        //        navigationItem.rightBarButtonItems = [bbi]

    }

