Andrew Zheng
1 min readSep 14, 2020

--

Awesome! This works great and is so much simpler. I'll update the article.

The only problem is observing when the GestureState changes. In iOS 14, I can use .onChange(of:perform:). But in iOS 13, that's not supported.

I also tried using a custom Binding, but GestureState's set is read-only.

Did you get this working? Thanks for all your help anyway!

--

--

Andrew Zheng
Andrew Zheng

Written by Andrew Zheng

WWDC21 Scholar. I like to read manga and write about Swift. Check out my app, Find — look for text in real life, with outrageous speed. getfind.app

Responses (1)