Instance Property

delegate

An object that acts as the delegate of the preview interaction.

Declaration

weak var delegate: UIPreviewInteractionDelegate? { get set }

Discussion

The preview interaction informs the delegate of state and progress changes throughout the 3D Touch process. Create an object that conforms to the UIPreviewInteractionDelegate method and assign it to this property.

See Also

Preparing Preview Interactions

init(view: UIView)

Returns a newly initialized preview interaction for the specified view.