Last active
November 15, 2019 11:30
-
-
Save fermoya/855c1794b737d25d15cfc92105f182e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CardView(card: card) | |
// ... | |
.gesture(DragGesture() | |
.onChanged({ (value) in | |
// some code | |
}).onEnded({ (value) in | |
// some code | |
})) | |
.transition(.moveUpWardsWhileFadingIn) | |
.disabled(!self.wallet.isFirst(card: card)) | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment