Re: Prompting user (NSAlert) during document reading

2014-08-27 Thread Matthew LeRoy
On 8/27/14, 12:32 PM, "Kyle Sluder" wrote: >> On Aug 27, 2014, at 8:43 AM, edward taffel wrote: >> >> >>> On Aug 27, 2014, at 11:30 AM, Matthew LeRoy wrote: >>> This seems to work in initial testing ‹ the alert displays ‹ but I get >>>a message in the console telling me that ³NSAlert is being

Re: Prompting user (NSAlert) during document reading

2014-08-27 Thread edward taffel
On Aug 27, 2014, at 12:32 PM, Kyle Sluder wrote: worse & worse: very clever, kyle—thanks for pointing this out! >> i had this problem too: you can show the alert on the main thread via e.g. >> performSelectorOnMainThread. (as was kindly pointed out to me by, if i >> remember correctly, graha

Re: Prompting user (NSAlert) during document reading

2014-08-27 Thread Kyle Sluder
> On Aug 27, 2014, at 8:43 AM, edward taffel wrote: > > >> On Aug 27, 2014, at 11:30 AM, Matthew LeRoy wrote: >> This seems to work in initial testing — the alert displays — but I get a >> message in the console telling me that “NSAlert is being used from a >> background thread, which is not

Re: Prompting user (NSAlert) during document reading

2014-08-27 Thread edward taffel
On Aug 27, 2014, at 11:30 AM, Matthew LeRoy wrote: > This seems to work in initial testing — the alert displays — but I get a > message in the console telling me that “NSAlert is being used from a > background thread, which is not safe. This is probably going to crash > sometimes. …” Presumabl

Prompting user (NSAlert) during document reading

2014-08-27 Thread Matthew LeRoy
Good morning, I’ve got a scenario where I need to prompt the user during reading of a document in my OS X document-based application. There have been some minor changes to the format of my document files, and I need to support opening documents saved in the old format and prompting the user to