Re: NSDocument window opens - even if the document didn't read properly.

2012-07-30 Thread Mike Abdullah
On 29 Jul 2012, at 19:47, Pascal Harris wrote: > Mike, > > Thanks for taking time on a Sunday to reply promptly. I'm very grateful. > Taking each point > > On 29 Jul 2012, at 19:10, Mike Abdullah wrote: > >> Hello, there are many things wrong with your code. I’m noting them below. >> >>

Re: NSDocument window opens - even if the document didn't read properly.

2012-07-29 Thread Quincey Morris
On Jul 29, 2012, at 10:53 , Pascal Harris <45rpmli...@googlemail.com> wrote: > 2. If the document fails to open then I want to copy it to a new location, > with a new extension (see above). This fails. I can't think why! On Jul 29, 2012, at 11:47 , Pascal Harris <45rpmli...@googlemail.com> wr

Re: NSDocument window opens - even if the document didn't read properly.

2012-07-29 Thread Pascal Harris
Mike, Thanks for taking time on a Sunday to reply promptly. I'm very grateful. Taking each point On 29 Jul 2012, at 19:10, Mike Abdullah wrote: > Hello, there are many things wrong with your code. I’m noting them below. > > On 29 Jul 2012, at 18:53, Pascal Harris wrote: > >> I hope that s

Re: NSDocument window opens - even if the document didn't read properly.

2012-07-29 Thread Mike Abdullah
Hello, there are many things wrong with your code. I’m noting them below. On 29 Jul 2012, at 18:53, Pascal Harris wrote: > I hope that someone here might be able to help me with a couple of queries. > > 1. I'm trying to open a document (NSDocument). If the file is good then my > program opens

NSDocument window opens - even if the document didn't read properly.

2012-07-29 Thread Pascal Harris
I hope that someone here might be able to help me with a couple of queries. 1. I'm trying to open a document (NSDocument). If the file is good then my program opens it without problem. If the document fails to parse correctly then the NSDocument window still opens - but it opens empty. Of co