Fwd: When did NSPersistentDocument finish loading ?
Fwd: When did NSPersistentDocument finish loading ?
- Subject: Fwd: When did NSPersistentDocument finish loading ?
- From: Romain Champourlier <email@hidden>
- Date: Wed, 19 Oct 2005 10:06:23 +0200
Sorry, I was unclear. I meant when is the data loaded ? I do already
know when the nib is loaded, but the data is loaded a bit later. I
need to know when the managed object context finished loading the
data... It is still a bit unclear in my mind, because CoreData may
not load everything at once, it seems to load only what it needs. So
it will only load what is displayed, but I would like to know when it
did finish. In fact, this is when I can see my data in the user
interface.
Thanks again.
Romain
Le 19 oct. 05 à 09:57, mmalcolm crawford a écrit :
On Oct 18, 2005, at 11:58 PM, Romain Champourlier wrote:
When I open an existing document, I need to perform some steps
once it as been loaded. My problem is that I can't determine when
the document is loaded ? Does someone know how I could do it ? Is
their a notification I could catch, or something ?
In what sense, "once it as been loaded"?
Assuming you mean, "once the user interface is in place", you
probably want windowControllerDidLoadNib (see <http://
developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSDocument.html#//apple_ref/doc/uid/20000008-
BBCCFJDE> and <http://developer.apple.com/documentation/Cocoa/
Conceptual/Documents/Tasks/ImplementingDocApp.html#//apple_ref/doc/
uid/20000029-997740>).
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@wanadoo.fr
This email sent to email@hidden
_______________________________________________
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