Re: Another NSDocument question
Re: Another NSDocument question
- Subject: Re: Another NSDocument question
- From: Michael McCracken <email@hidden>
- Date: Tue, 26 Jul 2005 19:24:16 -0700
No, this isn't a common problem. Are you doing anything custom with the closing?
Maybe you should check to be sure that the document itself is being
closed and deallocated, because if the NSDocument instance is still
around even though its windows are closed, the document controller
might think it doesn't have anything to do.
-mike
On 7/26/05, John Stiles <email@hidden> wrote:
> I've found that my NSDocument app will refuse to open the same
> document twice in one sitting. If I quit and reopen, everything's
> fine; if I open unique documents each time, no problem. But opening a
> document, closing it, and then reopening it is no good. I don't get
> an error; my readFromFile method just isn't called.
>
> Is this a common problem? What might be causing it?
>
> Thanks again for your help, everyone :)
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
Michael McCracken
UCSD CSE PhD Candidate
research: http://www.cse.ucsd.edu/~mmccrack/
misc: http://michael-mccracken.net/blog/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden