State

public enum State

The current gesture recognizer state, as it pertains to the sustain setting.

  • All touches are ended, and none are being sustained.

    Declaration

    Swift

    case ready
  • One more more touches are currently in progress.

    Declaration

    Swift

    case live
  • All touches have ended, but one or more is being retained in the touches collection thanks to the sustain setting.

    Declaration

    Swift

    case sustained