Protocol

UIDragAnimating

The interface for providing custom animation alongside the system's lift, drop, and cancellation animations.

Declaration

protocol UIDragAnimating

Overview

You can use a UIDragAnimating object to animate your own changes to the preview displayed during system-provided drag and drop animations.

Topics

Adding Animations

func addAnimations(() -> Void)

Adds an animation block for modifying a view animation while it is running.

Required.

func addCompletion((UIViewAnimatingPosition) -> Void)

Adds an animation completion block to run when a view animation has ended.

Required.

See Also

Drag Sources

class UIDragItem

A representation of an underlying data item being dragged from one location to another.

protocol UIDragDropSession

The common interface for querying the state of both drag sessions and drop sessions.

protocol UIDragSession

The interface for configuring a drag session.