Contents

init(delegate:)

Initializes a drag interaction object with a custom delegate object.

Declaration

init(delegate: any UIDragInteractionDelegate)

Parameters

  • delegate:

    The object that configures and controls a drag interaction.

Return Value

A drag interaction that has a delegate.