• 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: customizing save behavior in doc based apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customizing save behavior in doc based apps


  • Subject: Re: customizing save behavior in doc based apps
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 26 Dec 2005 15:19:32 -0800


On Dec 26, 2005, at 1:59 PM, email@hidden wrote:

Great point. I definitely don't want the disk churning away with every single input and this seems like an elegant way to avoid that. Really, all I want is for changes to automatically get saved to disk whenever the user closes the window or quits the app. The only time I want them to get prompted for a save is when they try to close the window or quit the app with an untitled document -- which is why I was originally trying to override close and applicationShouldTerminate:

The latter two are handled for you automatically by the document architecture -- is there any reason why that behaviour is insufficient?

If you want changes to be saved on close, could you not just override -close?

mmalc

_______________________________________________
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
  • Follow-Ups:
    • Re: customizing save behavior in doc based apps
      • From: email@hidden
References: 
 >customizing save behavior in doc based apps (From: Matthew Russell <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: mmalcolm crawford <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: email@hidden)
 >Re: customizing save behavior in doc based apps (From: Jim Correia <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: Uli Kusterer <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: email@hidden)

  • Prev by Date: Re: customizing save behavior in doc based apps
  • Next by Date: Re: Aliases or Links in Contents/Resources?
  • Previous by thread: Re: customizing save behavior in doc based apps
  • Next by thread: Re: customizing save behavior in doc based apps
  • Index(es):
    • Date
    • Thread