• 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: Close All Documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Close All Documents


  • Subject: Re: Close All Documents
  • From: Seth Willits <email@hidden>
  • Date: Wed, 01 May 2013 12:58:47 -0700

On May 1, 2013, at 12:03 PM, Steve Mills wrote:

> Since this is no longer handled by the OS (probably in lieu of the silly new "quit when last doc is closed" behavior), is there a better way to handle it than what I have below?

To be clear, are you suggesting that when quitting your app with unsaved documents open it's not asking you to review unsaved docs and you want it to that and are therefore having to somewhat implement that yourself?

Quitting with unsaved documents open (according to Apple HIG) should now quit immediately and when the app reopens restore those same unsaved documents to their prior state so there's no need for review. It's separate from the (I completely agree) silly and maddening "quit when last doc is closed" behavior.

However, unless your windows are marked as restorable I believe it should still be showing that review alert. So perhaps you might double check that.

As far as your implementation goes it looks right to me.


--
Seth Willits




_______________________________________________

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

  • Follow-Ups:
    • Re: Close All Documents
      • From: Steve Mills <email@hidden>
References: 
 >Close All Documents (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: View Based TableView - how to use bindings?
  • Next by Date: Re: View Based TableView - how to use bindings?
  • Previous by thread: Close All Documents
  • Next by thread: Re: Close All Documents
  • Index(es):
    • Date
    • Thread