Re: NSDocument not displaying save prompt on dirty document
Re: NSDocument not displaying save prompt on dirty document
- Subject: Re: NSDocument not displaying save prompt on dirty document
- From: email@hidden
- Date: Sat, 04 Jun 2016 13:52:22 -0700
Ok. The issue was that the auto-save prompt had disappeared when I was closing a dirty nsdocument. I added a nswindowcontroller to my nsdocument using addWindowController. I needed to add setShouldCloseDocument to my main nswindowcontroller, otherwise my document wouldn’t show the prompt.
Patrick
_______________________________________________
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