On Aug 12, 2013, at 4:27 PM, "Mills, Steve" <smi...@makemusic.com> wrote:

> I haven't been able to find any info about this, but I might be searching for 
> the wrong thing. How can we get rid of the Open dlog so it doesn't hang 
> around while the document is being read? It's an incredibly annoying design.

Are you using NSDocument? If so, return YES from 
+canConcurrentlyReadDocumentsOfType: to let NSDocumentController know it can 
initialize your document in the background. Then it will call 
-makeWindowControllers on the main thread.

If you're running the NSOpenPanel yourself, just fire off your background work 
from its completion handler.

--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

Reply via email to