Link Search Menu Expand Document

SpringLoadedInteractionContext

The interface an object implements to provide information about a spring-loaded interaction.

public protocol SpringLoadedInteractionContext 

Requirements

state

The current view style for the string-loaded interaction.

var state: SpringLoadedInteractionEffectState 

targetItem

The specific subview, or associated model object, of the target view to use for the spring-loaded interaction.

var targetItem: Any? 

targetView

The view to which the current spring-loaded interaction view style is applied.

var targetView: View?