I have a document-based Cocoa application that has to start up a sub-process before running. It would be best if that process could finish starting up before I display any document windows. I get a notification when the process has fully started.
How can I delay the creation of the untitled NSDocument subclass object until the notification arrives? I have a splash screen and a timeout, so I can "busy wait" and still get user-generated events. I can override any class I need to.