CoreData and document loading
CoreData and document loading
- Subject: CoreData and document loading
- From: Romain Champourlier <email@hidden>
- Date: Thu, 15 Dec 2005 15:56:18 +0100
Hello everybody,
I already talked of this on this list, and found a first fix for my
problem, but it is proving even more complicated. I explain it :
I'm working on a application using CoreData. My problem is that I
need to know when my document's data finished being loaded from the
persistent store. My document contains several types of objects
(entities), that are loaded automatically into NSArrayControllers.
The first fix is to set the document as an observer of the content of
these NSArrayControllers, so I can determine when they are filled.
But, in my case, it is possible that some types of objects are not
present in the document, so they will not be loaded, so I may think
the document is still not loaded, even if it is ! This problem is
even clearer when you think to the case of an empty document...
I'm still searching the proper method to detect the end of CoreData
document loading' process... If someone has the answer, I would be
pleased to hear it !
Thanks everyone for reading this...
Bye !
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden