Re: NEWBIE Telling a doc it's dirty
Re: NEWBIE Telling a doc it's dirty
- Subject: Re: NEWBIE Telling a doc it's dirty
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 03 Oct 2002 10:30:16 -0400
on 02-10-03 2:06 AM, Jim Graham at email@hidden wrote:
>
I have a standard document based app with a sub classed NSWindowController
>
handling all the needs of the window. I assume I need to let the window's
>
NSDocument sub class know when an edit has taken place so that it use
>
updateChangeCount:NSChangeDone to mark it as dirty and show the save sheet
>
on closing the window or quit. How do I do this?
Implement undo and redo per the documents, and all this will be taken care
of for you.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.