Re: Programmatically Clear Dirty NSDocument
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