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

Re: Solved: Changing initial value of isDocumentEdited


  • Subject: Re: Solved: Changing initial value of isDocumentEdited
  • From: Darkshadow <email@hidden>
  • Date: Tue, 1 Mar 2005 18:52:35 -0500


On Feb 28, 2005, at 5:44 AM, Magnus Strand wrote:

Hi again,

I found out that overriding MyDocument's method isDocumentEdited to always return YES solved my problem.

Magnus


Hey Magnus, I know you already found a solution, but just for future reference, you can also call NSDocument's -updateChangeCount: method with an argument of NSChangeDone to do the same thing.


Darkshadow (aka Michael Nickerson)

_______________________________________________
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


  • Prev by Date: Re: Re: Memory management question (passing objects to method)
  • Next by Date: Help: How to show an application again after 5 days?
  • Previous by thread: Re: Example code for inspector with disclosure views
  • Next by thread: Help: How to show an application again after 5 days?
  • Index(es):
    • Date
    • Thread