• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I know when my Core Data app is up and running?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: How do I know when my Core Data app is up and running? (From: "Arthur C." <email@hidden>)

  • Prev by Date: Re: Best way to compare NSParagraphStyles?
  • Next by Date: Re: Best way to compare NSParagraphStyles?
  • Previous by thread: Re: How do I know when my Core Data app is up and running?
  • Next by thread: Re: How do I know when my Core Data app is up and running?
  • Index(es):
    • Date
    • Thread