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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com