• 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
NSDocument-based application with NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument-based application with NSTextView


  • Subject: NSDocument-based application with NSTextView
  • From: Tae-Won Ha <email@hidden>
  • Date: Thu, 11 Oct 2001 15:44:30 +0200

I have a NSDocument-based application with NSTextView(graphics allowed and so on) in the window. Whenever I type something in the TextView the window shows that the Doc is edited. (i.e. If I close the window, the window asks me whether I want to save the doc or not...) I tried to implement "[NSWindowObject setDocumentEdited:No];" in one of delegate methods windowWillClose: & windowShouldClose:. However it did not work.

How can I avoid this?

Thanks in advance!

Tae-Won Ha
=)


  • Follow-Ups:
    • Re: NSDocument-based application with NSTextView
      • From: Markus Hitter <email@hidden>
  • Prev by Date: retain count (Re: half-initialized objects during decoding (Re: Persistance))
  • Next by Date: Re: retain count (Re: half-initialized objects during decoding (Re: Persistance))
  • Previous by thread: Re: Folding in a byte
  • Next by thread: Re: NSDocument-based application with NSTextView
  • Index(es):
    • Date
    • Thread