On Fri, May 3, 2013, at 01:32 PM, Keith Knauber wrote: > How do I force *all* NSDocument dialogs to be handled SYNCHRONOUSLY?
You don't. > > NSDocument continues to be a software maintenance nightmare. I agree, but until Apple simplifies the API, correctly dealing with NSDocument will simply require a lot of learning. > > Asynchronous NSDocument dialogs should be the exception, not the rule,> > *especially* in these cases: > > NSApp knows its being asked to terminate. > NSApp knows it hasn't finished loading. What case are you trying to handle here? NSApp can't be asked to terminate before it's finished loading; since the main thread is busy running code, neither the menu bar nor the AppleEvent handler can possibly handle the termination request. Did you mean to say you want to quit the app while _documents_ are still loading? If so, what does this have to do with synchronous dialogs? --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com