Skip to content

bmcmahen/swiftui-gesture-sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swiftui-gesture-sheet

An example of how to combine gestures and animations to create a side sheet style component. This is all pretty hacked together, but I may eventually clean it up and release it as a library. For now, it's part of my effort to map react design pattersn in swiftui and the code is actually loosely based off of my react implementation found in sancho.

TODO:

  • Add resistence when swiping right (and white overflow to the left)
  • Support quick swipe to close
  • Accept arbitrary children as body
  • Controlled via enivornmentalObject?

About

an experimental sheet built with swiftui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages