On Aug 12, 2013, at 21:22:07, Bryan Vines <bkvi...@me.com> wrote:

> Can you run an NSOpenPanel with a completion handler block, and in that 
> block, call a method on a background thread to actually perform the file read 
> operation?

Well, this won't work. The current code runs the dlog with runModal instead of 
beginWithCompletionHandler. If I change it to beginWithCompletionHandler, it 
returns right away and falls out of our semi-portable code for opening files 
before the dlog is even presented. We expect the Open dlog to be modal, not 
modeless. Any other ideas? I also tried calling orderOut after runModal 
returned, but it didn't make it go away.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

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