Contents

application(_:didUpdate:)

Tells the delegate that there are changes to the specified activity.

Declaration

@MainActor optional func application(_ application: NSApplication, didUpdate userActivity: NSUserActivity)

Parameters

  • application:

    The shared app object.

  • userActivity:

    The user activity object that was updated.

Discussion

This method is called when any user activity managed by AppKit has been updated. Use this as a last chance to add additional data to the user activity object.

See Also

Continuing User Activities