Re: Displaying multiple errors in NSOpenPanel beginSheetModalForWindow:completionHandler:

2015-02-24 Thread Steve Mills
On Feb 24, 2015, at 11:18:04, Kyle Sluder wrote: > > This sounds like the kind of thing -[NSDocument > performActivityWithSynchronousWaiting:usingBlock:] was designed for, > though it's a rather tricky API. Here's my stab at it: Interesting stuff, and highly confusing. :) > - (IBAction)showMyOp

Re: Displaying multiple errors in NSOpenPanel beginSheetModalForWindow:completionHandler:

2015-02-24 Thread Kyle Sluder
On Tue, Feb 24, 2015, at 03:09 AM, Steve Mills wrote: > Just doing it that way puts up lots of overlapping alert sheets without > waiting for the user to respond. While that certainly would keep the user > on their toes, it's not at all right. I've tried using a semaphore to > wait for the alert (c

Re: Displaying multiple errors in NSOpenPanel beginSheetModalForWindow:completionHandler:

2015-02-24 Thread Ken Thomases
On Feb 24, 2015, at 3:09 AM, Steve Mills wrote: > I've been trying tons of different things, but can't make this work. I'm > running an NSOpenPanel with beginSheetModalForWindow:completionHandler: to > choose a destination folder. In the completionHandler I'm processing 1 or > more files by co

Displaying multiple errors in NSOpenPanel beginSheetModalForWindow:completionHandler:

2015-02-24 Thread Steve Mills
I've been trying tons of different things, but can't make this work. I'm running an NSOpenPanel with beginSheetModalForWindow:completionHandler: to choose a destination folder. In the completionHandler I'm processing 1 or more files by copying them to the chosen folder. When an error appears for