Re: Changing initial value of isDocumentEdited
Re: Changing initial value of isDocumentEdited
- Subject: Re: Changing initial value of isDocumentEdited
- From: <email@hidden>
- Date: Mon, 28 Feb 2005 9:06:09 +0000
>
> 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