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

onEnded(_:)

Adds an action to perform when the gesture ends. ジェスチャが終わる時に実行するアクションを加えます。

Declaration 宣言

func onEnded(_ action: @escaping (Self.Value) -> Void) -> _EndedGesture<Self>

Return Value 戻り値

A gesture that triggers action when the gesture ends. ジェスチャが終わる時にactionを引き起こすジェスチャ。

Parameters パラメータ

action

The action to perform when this gesture ends. The action closure’s parameter contains the final value of the gesture. このジェスチャが終わる時に実行するアクション。actionクロージャのもつパラメータは、ジェスチャの最終の値を含みます。

See Also 参照

Performing the Gesture ジェスチャを実行する