UIControl.Event
Constants describing the types of events possible for controls.
Declaration
struct EventMentioned 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
touchDowntouchDownRepeattouchDragInsidetouchDragOutsidetouchDragEntertouchDragExittouchUpInsidetouchUpOutsidetouchCancelvalueChangedmenuActionTriggeredprimaryActionTriggerededitingDidBegineditingChangededitingDidEndeditingDidEndOnExitallTouchEventsallEditingEventsapplicationReservedsystemReservedallEvents