iOS 15: How to use gestures in SwiftUI - Flashzilla SwiftUI Tutorial 1/15

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 10

  • @cyrfung
    @cyrfung 2 роки тому +1

    I've said it before but when I needed to learn how to use something if I can find a Hacking with Swift article I know I can expect a high quality tutorial. Really great for leaning something quickly and get back to work. WWDC videos are nice and all but they are often hour-long and not as easy to watch when you needed to look up how to use something quickly at work.

  • @burakdumer1612
    @burakdumer1612 2 роки тому +2

    Great tutorial! Thanks! As an addition I find that using currentAmount = finalAmount * (amount - 1) for the .onChanged closure makes it a little bit easier to scale up and down when final amount gets larger and larger.

  • @enzmondo
    @enzmondo Рік тому

    It’s a good thing Apple already taught users how Haptic Touch works utilising both visual and tactile feedback to communicate long press and drag gestures combined.

  • @CraigSchubert
    @CraigSchubert 2 роки тому +1

    Awesome stuff! 🙂
    I'm curious if you'll cover multi-finger swipes in this at all...

  • @developerfriendly
    @developerfriendly 2 роки тому +4

    thanks x 10

  • @JeffreyConcerto
    @JeffreyConcerto 2 роки тому +1

    Great content here

  • @raymundoortiz7269
    @raymundoortiz7269 2 роки тому

    What could be the GESTURE when the button is released??

  • @xavierrouet3654
    @xavierrouet3654 2 роки тому

    I think you made a mistake with the scale gesture : you should multiply by amount not doing amount - 1. Scales are multiplication .

  •  2 роки тому

    It's nice for easter egg 🥚

  • @Sfstboy
    @Sfstboy 2 роки тому

    Great video! I was wondering if it is possible to enable DragGesture only when MagnificationGesture is used WITHOUT releasing fingers. Apps like Hinge or Bumble has the feature. I used calld simultaneously(with:) to combine DragGesture and MagnificationGesture, and I was able to drag -> zoom, but zoom -> drag doesn't work.