• 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: Programmatically Clear Dirty NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically Clear Dirty NSDocument


  • Subject: Re: Programmatically Clear Dirty NSDocument
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 07 Nov 2016 11:59:03 -0800

Why not just call [doc revertToContentsOfURL:[doc url] ofType:[doc fileType] error:&error], which is what the docs for -revertDocumentToSaved: say it does after the user confirmation?

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Programmatically Clear Dirty NSDocument (From: Richard Charles <email@hidden>)
 >Re: Programmatically Clear Dirty NSDocument (From: Jonathan Mitchell <email@hidden>)

  • Prev by Date: Re: Programmatically Clear Dirty NSDocument
  • Next by Date: Re: Programmatically Clear Dirty NSDocument
  • Previous by thread: Re: Programmatically Clear Dirty NSDocument
  • Next by thread: Re: Programmatically Clear Dirty NSDocument
  • Index(es):
    • Date
    • Thread