init(delegate:)
Initializes a drop interaction object with a custom delegate object.
Declaration
init(delegate: any UIDropInteractionDelegate)Parameters
- delegate:
An object that conforms to the Uidropinteractiondelegate protocol.
Return Value
A drop interaction that has a delegate.