Class

UIDropInteraction

An interaction to enable dropping of items onto a view, employing a delegate to instantiate objects and respond to calls from the drop session.

Topics

Initializing Drop Interactions

init(delegate: UIDropInteractionDelegate)

Initializes a drop interaction object with a custom delegate object.

Managing Drop Interactions

var delegate: UIDropInteractionDelegate?

An object that configures and controls a drop interaction.

protocol UIDropInteractionDelegate

The interface for configuring and controlling a drop interaction.

Allowing Simultaneous Drops

var allowsSimultaneousDropSessions: Bool

A Boolean value that specifies whether the drop interaction handles more than one simultaneous drop session.

Relationships

Inherits From

See Also

Drag-and-Drop Interactions

protocol UIDragInteractionDelegate

The interface for configuring and controlling a drag interaction.

protocol UIDropInteractionDelegate

The interface for configuring and controlling a drop interaction.

protocol UIInteraction

The interface for attaching a gesture-based behavior to a view, such as to express a drag, drop, or spring-loaded interaction.

class UIDragInteraction

An interaction to enable dragging of items from a view, employing a delegate to provide drag items and to respond to calls from the drag session.