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.

Declaration

class UIDropInteraction : NSObject

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.

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software