Contents

userActivityURLKey

The key that identifies the document associated with a user activity.

Declaration

class let userActivityURLKey: String

Discussion

You use this key in the userInfo dictionary of an NSUserActivity object. Its value is the URL of the document associated with the user activity.

When the NSUbiquitousDocumentUserActivityType key is present in a CFBundleDocumentTypes entry, AppKit automatically creates an NSUserActivity object for documents in iCloud, using the given activity type.

See Also

Constants