Hi,
There was some talk about adding NSUndoManager support back in 2013, but I
don't know if anything has happened with that.
So I am trying to implement undo of deletions and I'm wondering if there's
a way to recover the most recently deleted CBLDocument given the fact that
I still have the CBLModel hanging around in my undo stack?
According to the header file for CBLModel:
/** Deletes the document from the database.
You can still use the model object afterwards, but it will refer to the
deleted revision. */
- (BOOL) deleteDocument: (NSError**)outError;
So does that mean that I can somehow get the deleted revision from the
model object and somehow reconstitute the CBLDocument that this model
object used to refer to?
Thanks,
Brendan
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/6000761d-76f1-4b7b-9409-a3afc377ffdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.