Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When did NSPersistentDocument finish loading ?




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >When did NSPersistentDocument finish loading ? (From: Romain Champourlier <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.