3

I see this in iWork 08, is it the case for everything else?

1

It all depends on how each app is developed. It's a safe bet that Apple would implement this feature on most of the apps included in OS X as well as the iWork and iLife apps.

I would argue that another question just as important is which third-party apps have this feature. Not every third-party app that runs on Snow Leopard has Resume automatically when executed in Lion. This is a case-by-case situation, on which third-party app developers have to modify how their apps handle individual documents. Sometimes they have to make minor modifications, sometimes it may involve more complicated changes.

The same goes for all the other major document management features in Lion (such as Versions).

Hope this helps.

6
  • One of the questions that popped to my mind is that iWork 08 hasn't been updated for years yet it supports resume. What different thing that Apple did to iWork 08 that other cocoa apps doesn't do? (probably they're using a private API, but really? they can use it a few years before Lion even released?) – Enrico Susatyo Jul 26 '11 at 11:48
  • iWork 08 has been given minor updates since it came out. Technically, the ability to use the Lion features was not part of the original iWork 08, it was added as a minor update (via Software Update) the day Lion was released. I don't think they were "using" any of the Lion features before Lion, because such features were not even present in the pre-Lion Cocoa classes (like NSDocument). – Christian Correa Jul 26 '11 at 15:56
  • Just to address your question more specifically: Apple did not do anything out of the ordinary. The way it usually works is that Apple has to release updates to OS X first, and then each app that might use new OS X features will be updated. But Software Update is supposedly smart enough to not send you app updates that your current OS X version cannot support. – Christian Correa Jul 26 '11 at 16:00
  • But I'm quite positive that iWork 08 has not been updated when Lion was released (it wasn't even updated when they hand out the first Lion beta). They updated iWork 09 instead. So does that mean that any app that is written for snow leopard using NSDocument has resume enabled automatically without changing anything? – Enrico Susatyo Jul 27 '11 at 0:56
  • 1
    I've found the answer you're looking for. In the OS X Release Notes for Developers it is specified that Mac OS X 10.4 introduced auto-saving. However, this is NOT the same auto-saving that we get in Lion: Old auto-saving is the one that would store a copy of, say "Essay.doc", in the ~/Library/<YourApp> folder. Then, if there's a system crash, you would reopen the app to find a document titled "Essay.doc (autosaved)". This is what iWork 08 and 09 used to do. Here's the secret: If your app already did THAT old auto-saving, then it automatically got the NEW auto-saving when switching to Lion. – Christian Correa Jul 27 '11 at 5:06
1

Yes, safari restores tabs/windows, Preview.app does the same with last viewed documents, Xcode 4.1 does that too.

I think all Apple apps support resume. Not sure what should be done for 3rd party applications to support this.

1
0

All Cocoa apps (native Objective C apps for the Intel Architecture) support Resume

4
  • really? i have some intel apps that I know was written in cocoa but doesn't support resume – Enrico Susatyo Jul 26 '11 at 11:45
  • maybe theres exceptions, idk – Alexander Jul 26 '11 at 15:24
  • 1
    This answer isn't exactly right or wrong, but it oversimplifies. All Cocoa apps "support Resume" in the sense that there's no plist flag that developers have to explicitly set to turn on Resume (as there is for, say, Sudden Termination). Then again, there are new API methods for it, so apps that haven't been updated for it might not behave correctly. If a developer hasn't explicitly supported it, the defaults might be mostly good enough, but there's no guarantee. – Ken Jul 2 '12 at 2:07
  • 1
    You should edit my answer – Alexander Jul 2 '12 at 16:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .