Re: Defer opening documents until app is fully inited

2014-09-22 Thread Mills, Steve
On Sep 20, 2014, at 08:51:32, Jerry Krinock je...@ieee.org wrote: I’m surprised that works. I think I was in a similar situation about 4 years ago.

Re: Defer opening documents until app is fully inited

2014-09-20 Thread Jerry Krinock
On 2014 Sep 19, at 09:12, Mills, Steve smi...@makemusic.com wrote: Our app init (called from applicationWillFinishLaunching) needs to put up some modal dialogs. I’m surprised that works. I think I was in a similar situation about 4 years ago.

Defer opening documents until app is fully inited

2014-09-19 Thread Mills, Steve
Our app init (called from applicationWillFinishLaunching) needs to put up some modal dialogs. When one of these modals is dismissed, NSApplication proceeds to call application:openFiles:, but we haven't returned from applicationWillFinishLaunching yet, so we're not ready. I'm sure others have

Re: Defer opening documents until app is fully inited

2014-09-19 Thread edward taffel
just out of curiosity—have you attempted this earlier, e.g. in NSApplication init? regards, edward On Sep 19, 2014, at 12:12 PM, Mills, Steve smi...@makemusic.com wrote: Our app init (called from applicationWillFinishLaunching) needs to put up some modal dialogs. When one of these modals is

Re: Defer opening documents until app is fully inited

2014-09-19 Thread Mills, Steve
On Sep 19, 2014, at 11:49:38, edward taffel etaf...@me.com wrote: just out of curiosity—have you attempted this earlier, e.g. in NSApplication init? No. I don't think that's the right place to do this sort of thing. And we're too late in the cycle now to make such a radical change. -- Steve