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

exclusively(before:)

Combines two gestures exclusively to create a new gesture where only one gesture succeeds, giving precedence to the first gesture. 2つのジェスチャを排他的に結合して、新しいジェスチャを作成します、そこではただ1つのジェスチャだけが成功します、最初のジェスチャに優先権を与えます。

Declaration 宣言

func exclusively<Other>(before other: Other) -> ExclusiveGesture<Self, Other> where Other : Gesture

Return Value 戻り値

A gesture that’s the result of combining two gestures where only one of them can succeed. SwiftUI gives precedence to the first gesture. あるジェスチャ、それは2つのジェスチャを結合する結果です、そこではそれらのただ1つだけが成功できます。SwiftUIは、優先順位を最初のジェスチャに与えます。

Parameters パラメータ

other

A gesture you combine with your gesture, to create a new, combined gesture. あなたがあなたのジェスチャと結合して、ある新しい、結合されたジェスチャを作成するあるジェスチャ。