• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Another NSDocument question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Another NSDocument question
      • From: John Stiles <email@hidden>
References: 
 >Another NSDocument question (From: John Stiles <email@hidden>)

  • Prev by Date: Re: NSButton Tool-tip
  • Next by Date: Re: NSButton Tool-tip
  • Previous by thread: Another NSDocument question
  • Next by thread: Re: Another NSDocument question
  • Index(es):
    • Date
    • Thread