Instance Method インスタンスメソッド

sequenced(before:)

Sequences a gesture with another one to create a new gesture, which results in the second gesture only receiving events after the first gesture succeeds. あるジェスチャを別のものと順番に並べて、新しいジェスチャを作成します、それは最初のジェスチャが成功した後にイベントを受け取る場合にのみ2番目のジェスチャという結果になります。

Declaration 宣言

func sequenced<Other>(before other: Other) -> SequenceGesture<Self, Other> where Other : Gesture

Return Value 戻り値

A gesture that’s a sequence of two gestures. あるジェスチャ、それは2つのジェスチャを順番に並べたものです。

Parameters パラメータ

other

A gesture you want to combine with another gesture to create a new, sequenced gesture. あなたが別のジェスチャと結合してある新しい、順番に並べられたジェスチャを作成したいあるジェスチャ。