-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swipe to Add to Collection #112
Comments
Weird. Mine has stars for the critters. Is that a bug ? Maybe I’m behind a version |
Yeah maybe I just have a tendency to try to swipe? I don’t think you should lose the tap option. I just think the swipe could be an easy way too? Just a suggestion 👍 |
Yes definitely a good idea :) |
This is a great idea. However, from having spent many, many hours implementing a swipeable list using SwiftUI - in order to get a user experience I thought matched what a user would expect, the only way I could get it to work was wrapping a TableViewController, with Apple's supported Swipe Actions, in a UIHostingViewController to replace SwiftUI's List. I had tried 'rolling my own' by using a ZStack and adding gestures - the user experience was ok but never quite perfect and so I ultimately dropped it. There's also some workaround for managing multiple gestures required - which can be seen here on StackOverflow. Both items are very high on my list for improvements to see in SwiftUI 2.0 😊 |
Hey all. New here. Gonna try to jump in with helping on things but I’ve never coded in swift. See if I can catchup fast.
Would be better if swiping right added a bug/fish/item to your collection. I also find a check might be better than a star for the non swipe method? It took me a bit to figure out star wasn’t favouriting meaning something else. Thoughts?
The text was updated successfully, but these errors were encountered: