From bdaed4287af97fa438abab4ec84a7287e6faff6d Mon Sep 17 00:00:00 2001 From: Ivan Vorobei Date: Thu, 27 Jun 2019 12:52:33 +0300 Subject: [PATCH] Update README.md --- README.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/README.md b/README.md index 163cde1..856b463 100644 --- a/README.md +++ b/README.md @@ -59,26 +59,6 @@ Also include: -#### Gester - -In class add property: - -```swift -@GestureState var dragState = DragState.inactive -``` - -Class `DragState` see in file. Also you can see it in [apple's example page](https://developer.apple.com/documentation/swiftui/gestures/composing_swiftui_gestures). - -To card add `gester` and `offset`: - -```swift -.offset( - x: dragState.translation.width, - y: dragState.translation.height -) -.gesture(dragGester) -``` - #### 3D For add 3D rotation for back cards use code: