avoid AlertPanel in opening a document

2008-07-19 Thread Gerriet M. Denkmann
In -readFromURL:ofType:error: of a document-based app I make some checks and if something looks suspicious I show an AlertPanel with: Something strange. (Open anyway) (Do not open) If the user clicked on (Do not open) I return NO and set the NSError to nil. But then another panel comes

Re: avoid AlertPanel in opening a document

2008-07-19 Thread Quincey Morris
On Jul 19, 2008, at 01:58, Gerriet M. Denkmann wrote: In -readFromURL:ofType:error: of a document-based app I make some checks and if something looks suspicious I show an AlertPanel with: Something strange. (Open anyway) (Do not open) If the user clicked on (Do not open) I return NO and

Re: avoid AlertPanel in opening a document

2008-07-19 Thread Gerriet M. Denkmann
On Sat, 19 Jul 2008 09:43:57 -0700, Quincey Morris [EMAIL PROTECTED]wrote: On Jul 19, 2008, at 01:58, Gerriet M. Denkmann wrote: In -readFromURL:ofType:error: of a document-based app I make some checks and if something looks suspicious I show an AlertPanel with: Something strange. (Open