• 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: Check if there are autosaved documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check if there are autosaved documents


  • Subject: Re: Check if there are autosaved documents
  • From: Allan Odgaard via Cocoa-dev <email@hidden>
  • Date: Mon, 27 Apr 2020 17:26:06 +0700

On 27 Apr 2020, at 15:35, Georg Seifert via Cocoa-dev wrote:

Is there a method/callback that is called when all loading is done (including the loading of documents).

Have a look at applicationOpenUntitledFile: https://developer.apple.com/documentation/appkit/nsapplicationdelegate/1428491-applicationopenuntitledfile?language=objc

This is called during startup or clicking application icon in Dock when there are no open windows, so it should not be called after restoring saved documents.

It would be a suitable place to open your “welcome screen” with recent documents (instead of creating a new untitled document).
_______________________________________________

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: Check if there are autosaved documents
      • From: Georg Seifert via Cocoa-dev <email@hidden>
References: 
 >Check if there are autosaved documents (From: Georg Seifert via Cocoa-dev <email@hidden>)

  • Prev by Date: Check if there are autosaved documents
  • Next by Date: Re: Check if there are autosaved documents
  • Previous by thread: Check if there are autosaved documents
  • Next by thread: Re: Check if there are autosaved documents
  • Index(es):
    • Date
    • Thread