Re: NSAlert and threading

2016-05-23 Thread Jens Alfke
> On May 23, 2016, at 2:41 PM, Fritz Anderson wrote: > > Hence the rule that you don’t do _anything_ lengthy on the main (GUI-runloop) > thread. You can see how using a separate thread would solve your problem. > Welcome to 2003. Less dogmatically, you can use

Re: NSAlert and threading

2016-05-23 Thread Fritz Anderson
On 23 May 2016, at 4:14 PM, Tom Doan wrote: > > I have an menu operation which, before it fully executes, pops up > an NSAlert asking a Yes/No question ("Selection Only(Y/N)?") then, > depending upon the answer will either apply to the whole list or just > the selection.

NSAlert and threading

2016-05-23 Thread Tom Doan
I have an menu operation which, before it fully executes, pops up an NSAlert asking a Yes/No question ("Selection Only(Y/N)?") then, depending upon the answer will either apply to the whole list or just the selection. However, no matter what I do (other than putting the operation in a separate