Protocol

UIInteraction

The protocol that an interaction implements to access the view that owns it.

Declaration

@protocol UIInteraction

Topics

Getting the View

view

The view that owns the interaction.

Required.

Tracking the Movements

- didMoveToView:

Tells the interaction that a view added or removed it from the view's interactions array.

Required.

- willMoveToView:

Tells the interaction that a view will add or remove it from the view's interactions array.

Required.

See Also

Adding and Removing Interactions

- addInteraction:

Adds an interaction to the view.

- removeInteraction:

Removes an interaction from the view.

interactions

The array of interactions for the view.