Hi,
Currently, based on the number of files, we will detach separate thread with separate database pointer (using cblmanager copy) for file parsing.That is working fine.But the app is crashing when we try to use the same model, for UI loading and for parsing and saving models at the same time but using different threads and pointers only.
Exception we got,
<Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Document already has a model'
What could be the issue, we are using the different pointers only and accessing the model using that pointer only?
Parsing also takes sometime.For 5 jsons files,each of size 700kb to 1Mb takes 5 to 10 seconds.
Our requirement is to perform UI operation at the same time of parsing.Please help us to resolve this issue. Thanks in advance.