Re: How do I know when my Core Data app is up and running?
Re: How do I know when my Core Data app is up and running?
- Subject: Re: How do I know when my Core Data app is up and running?
- From: Jim Correia <email@hidden>
- Date: Wed, 4 Oct 2006 17:04:47 -0400
On Oct 4, 2006, at 4:51 PM, Arthur C. wrote:
Ah, that's exactly the kind of thing I was looking for. Although I
would have expected Core Data to have its own 'finishAwakening'
method...
That's because you are phrasing the question wrong. The array
controller is doing the fetching, so you want to know when array
controller is done fetching the data. The controller layer is doing
the work here, not Core Data.
You originally asked:
Now I would like to get a notification when *all* managed objects
are fetched, and the program is ready to run. At that moment, I
would like to do some initialization code which requires that at
least some, or preferably all managed objects are fetched and ready.
What kind of work do you want to do?
Depending upon what you want to do, waiting for the array controller
to fetch may not be necessary, or the right answer.
Jim
_______________________________________________
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