         }
     }
     
-    func deleteObjects(objects: [DynamicObject], completed: (() -> Void)? = nil) {
+    func deleteObjects(objects: [Object], completed: (() -> Void)? = nil) {
         do {
             try realm.write {
                 realm.delete(objects)

        }
    }
    
    func observe(object: DynamicObject, onUpdate: @escaping  () -> Void) {
        tokenObject = object.observe { updateCallback in
            switch updateCallback {
            case .change:

    }
    
    deinit {
//        NSLog("deinit \(self)")
    }
}

