Re: Check if there are autosaved documents
Re: Check if there are autosaved documents
- Subject: Re: Check if there are autosaved documents
- From: Georg Seifert via Cocoa-dev <email@hidden>
- Date: Mon, 27 Apr 2020 12:35:43 +0200
perfect. Thanks a lot.
Georg
> Am 27.04.2020 um 12:26 schrieb Allan Odgaard via Cocoa-dev
> <email@hidden>:
>
> 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
_______________________________________________
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