Instance Property

localObject

A custom object associated with the drag item.

Declaration

var localObject: Any? { get set }

Discussion

The localObject property gives you the option to associate a custom object, such as a model object, with the drag item. The local object is available only to the app that initiates the drag activity.

See Also

Accessing the Drag Item's Data

var itemProvider: NSItemProvider

The item provider associated with the drag item.