Re: NSDocument Deferred loading
Re: NSDocument Deferred loading
- Subject: Re: NSDocument Deferred loading
- From: Allan Odgaard <email@hidden>
- Date: Tue, 9 Mar 2004 14:38:43 +0100
On 9. Mar 2004, at 10:43, Eyal Redler wrote:
This brings me to my questions:
a. Where should I put the parsing/dialog code? (I'm think about doing
it in showWindows:)
Have you considered to make the requester sort of your document? So if
the file exists and the requester needs to appear, that is your
document, hence you return YES from the loadDataRepresentation and in
an overloaded makeWindowControllers you "make" the only the window
controller for the requester, and a "Continue" (or whatever) will make
the real window controller for the document.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.