Re: NSDocument-based application with NSTextView
Re: NSDocument-based application with NSTextView
- Subject: Re: NSDocument-based application with NSTextView
- From: Markus Hitter <email@hidden>
- Date: Thu, 11 Oct 2001 19:20:27 +0200
Am Donnerstag, 11. Oktober 2001 um 15:44 schrieb Tae-Won Ha:
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...)
How can I avoid this?
add this to your NSDocument subclass:
- (BOOL)isDocumentEdited {
return NO;
}
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/