Contents

userInfo

A property list that contains additional data about the item.

Declaration

optional var userInfo: [AnyHashable : Any]? { get }

Discussion

The userInfo data is often used by the predicate for actions defined by the File Provider UI extension. For more information, see Adding Actions to the Context Menu.

The userInfo dictionary can only accept entries with numbers (including Boolean values), dates, or strings as either the key or the value.

See Also

Managing Metadata