I’ve made new method, that is helpful in UI operations when user can discard own changes, backgroundContext is not solution here.
I had posted an issue #74 before, but I don’t like proposed solution Core Data → JSON → Core Data conversion to simply save or discard data, I don’t think that is the best way to do such task.
I ask to check code, because I’ve copy-pasted some code and I don’t know full tests structure (I’ve done tests, but I don’t know if they are working properly). Maybe I have some fatal error at my method.
I’ve made new method, that is helpful in UI operations when user can discard own changes, backgroundContext is not solution here.
I had posted an issue #74 before, but I don’t like proposed solution Core Data → JSON → Core Data conversion to simply save or discard data, I don’t think that is the best way to do such task.
I ask to check code, because I’ve copy-pasted some code and I don’t know full tests structure (I’ve done tests, but I don’t know if they are working properly). Maybe I have some fatal error at my method.