SwiftUI: Boing!

Source: here

Note that you add the animation to the View object and update the view’s state in the gesture state handlers. The onEnded action passes a summary of the velocity, offset, and location of the gesture but I ignored it because I didn’t need it.

One Comment

  • “Never make light of BOING!” is one of my favorite riffs from MST3K, ep. 616.

    But I have to make light of Apple’s new TFA. I already used TFV for my Apple ID, but somewhere I missed where I have to turn off TFV to get TFA, and I have to log in to the Apple ID on both devices. Yuck! It’s giving me PTSD (not really, and not to make light of that, of course) and I’m really P.O.’d!

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>