Contents

UIControl.Event

Constants describing the types of events possible for controls.

Declaration

struct Event

Mentioned in

Overview

You set up a control so that it sends an action message to a target object by associating both target and action with one or more control events. To do this, send addTarget(_:action:for:) to the control for each target-action pair you want to specify.

Topics

Constants

Initializers

See Also

Managing the control’s targets and actions