Document Based Application, preinitialize window (enter serial, buy, trial)

Posted by Remizorrr on Stack Overflow See other posts from Stack Overflow or by Remizorrr
Published on 2010-03-31T13:26:20Z Indexed on 2010/04/01 3:53 UTC
Read the original article Hit count: 284

Filed under:
|
|

I need to create several windows before NSDocument is loaded, or create a window that blocks NSDocument window and top menu.

I tried several solutions - but they didn't work right.

  1. modal window, one after another. there were some problems with Async URLConnection, and some other problems with my NSDocument content.

  2. I created custom MainMenu.xib with no menu, that opens my preinitialize windows. here i found some other problems, when a file(associated with my application) is opened - the Document Window initializes. Here i tried to subclass NSDocumentController, but i found no way to pause the "open document". (i want the document to be opened anyway, but only after the preinitalize windows would be closed).

So what is the right way to do this?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about document-based