Swift & SwiftUI
  • İçerikler
  • UI Bileşenleri
    • Text
    • Button
    • Image
    • Picker
    • SecureField
    • Stepper
    • Slider
    • TabView
    • Sheet
    • Action Sheet
    • Alert
  • Layout
    • Fill-Space-Equally
  • State & Data Flow
    • Content
    • EnvironmentObject
    • ObservableObject
    • ObservedObject
    • Binding
  • Gestures
    • TapGesture
    • DragGesture
    • MagnificationGesture
    • RotationGesture
    • LongPressGesture
    • Notes
  • Extra
    • GeometryReader
    • Timer
    • AlignmentGuide
    • PreferenceKey
  • Concurrency
    • Perform asynchronous operation
Powered by GitBook
On this page

Was this helpful?

  1. Gestures

Notes

/// Attaches `gesture` to `self` such that it has higher precedence
/// than gestures defined by `self`.
.highPriorityGesture(gesture: Gesture)

/// Attaches `gesture` to self such that it will be processed
/// simultaneously with gestures defined by `self`.
.simultaneousGesture(gesture: Gesture)

/// Returns a new gesture that will sequence `self` and `other`,
/// such that `other` does not receive any events until `self` has
/// succeeded.
Gesture().sequenced(before: Gesture)
PreviousLongPressGestureNextGeometryReader

Last updated 5 years ago

Was this helpful?