• 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
Re: Changing initial value of isDocumentEdited
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Changing initial value of isDocumentEdited
      • From: Magnus Strand <email@hidden>
  • Prev by Date: Re: Re: Append to file with NSString writeToFile:
  • Next by Date: Solved: How to call this Cocoa method from AppleScript?
  • Previous by thread: Changing initial value of isDocumentEdited
  • Next by thread: Re: Changing initial value of isDocumentEdited
  • Index(es):
    • Date
    • Thread