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.
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.
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.
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.
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.
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.
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.
Awesome stuff! 🙂
I'm curious if you'll cover multi-finger swipes in this at all...
thanks x 10
Great content here
What could be the GESTURE when the button is released??
I think you made a mistake with the scale gesture : you should multiply by amount not doing amount - 1. Scales are multiplication .
It's nice for easter egg 🥚
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.