         title = className
     }
     
+    @available(*, unavailable)
     public required init?(coder aDecoder: NSCoder) {
         fatalError("init(coder:) has not been implemented")
     }

        }
    }
    
    @objc fileprivate func toggleEditMode(_ sender: UIBarButtonItem) {
        isEditMode.toggle()
    }
    

        showAlert(alertController: alertController, source: self, barButtonItem: sender)
    }
    
    @objc
    fileprivate func toggleMenu(sender: UIBarButtonItem) {
        let alertController = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
        let actionSelect = UIAlertAction(title: "Select all", style: .default) { [weak self] _ in
            self?.toggleSelectAll()
        }
        alertController.addAction(actionSelect)
        alertController.view.tintColor = .black
        showAlert(alertController: alertController, source: self, barButtonItem: sender)
    }
    
    @objc
    fileprivate func toggleAdd() {
        let result = engine.create(named: className)
        let propertyBrowser = RealmPropertyBrowser(object: result, engine: engine, inEditMode: true)
        let navCon = UINavigationController(rootViewController: propertyBrowser)
