On 2014 Jul 16, at 11:01, edward taffel <[email protected]> wrote:

> is there a way to defer the opening of documents (autosaved, launch via 
> double-click or drop on the dock icon) until some app windows have exposed? 
> or, alternatively, is there a point during app launch prior to NSDocument 
> tasks to put up some windows?—the earliest point i can conceive is 
> application delegate init, but no luck here either.

I think the first public-API message that you get when a document opens during 
launch, due to autosave, double-click or drop-on-Dock is -[NSDocumentController 
openDocumentWithContentsOfURL:display:error:].  It gets sent to the shared 
document controller.  You should be able to do something clever with that.


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to