Re: Changing initial value of isDocumentEdited
Re: Changing initial value of isDocumentEdited
- Subject: Re: Changing initial value of isDocumentEdited
- From: Magnus Strand <email@hidden>
- Date: Mon, 28 Feb 2005 10:19:31 +0100
I know about the side effects, but I would like to do it this way,
because I have a project with very, verty limited time frame.
I did it in MyDocument's windowControllerDidLoadNib method.
Magnus
email@hidden wrote:
From: Magnus Strand <email@hidden>
Perhaps it is too early at this stage to set this flag?
Regards,
*Magnus Strand *
I believe so. I haven't done a lot of work with document based projects, but I believe that a documents initial state upon creation is not dirty, and will not become so until it is modified in some way. Otherwise you would be forcing the user to save an empty file if the document has been created, but not touched or modified in any way.
Where exactly did you try setting this? MyDocument's init method?
James
_______________________________________________
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