• 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
CoreData and document loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: CoreData and document loading
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Creating a nstextfield in a tab,
  • Next by Date: several clickable links in a NSCell of a NSTableView
  • Previous by thread: Re: Refresh bug in AppKit on OS X 10.4.x?
  • Next by thread: Re: CoreData and document loading
  • Index(es):
    • Date
    • Thread