var body: Self.Body
The content and behavior of the gesture.
ジェスチャの内容と挙動。
associatedtype Body : Gesture
The type of gesture representing the body of
Self
.
ジェスチャの型、Self
のボディを表しています。
Availability 有効性
Technology
protocol Gesture
Create custom gestures by declaring types that conform to the Gesture
protocol.
var body: Self.Body
associatedtype Body : Gesture
Self
.
ジェスチャの型、Self
のボディを表しています。
func updating<State>(GestureState <State>, body: (Self.Value, inout State, inout Transaction) -> Void) -> GestureStateGesture <Self, State>
func onChanged ((Self.Value) -> Void) -> _ChangedGesture <Self>
Value
conforms to Equatable
.
Value
がEquatable
に準拠する時に利用可能です。
func onEnded ((Self.Value) -> Void) -> _EndedGesture <Self>
associatedtype Value
func simultaneously<Other>(with: Other) -> SimultaneousGesture <Self, Other>
func sequenced<Other>(before: Other) -> SequenceGesture <Self, Other>
func exclusively<Other>(before: Other) -> ExclusiveGesture <Self, Other>
func modifiers(EventModifiers ) -> _ModifiersGesture <Self>
func map<T>((Self.Value) -> T) -> _MapGesture <Self, T>
struct AnyGesture