From 50d9e18e47d376a8453b58ab71cd6a11c27af49f Mon Sep 17 00:00:00 2001 From: Ivan Vorobei Date: Wed, 26 Jun 2019 08:15:50 +0300 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 34384b3..c739c16 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ In class add property: @GestureState var dragState = DragState.inactive ``` -Class `DragState` see in file of project. Also you can see it in [apple's example page](https://developer.apple.com/documentation/swiftui/gestures/composing_swiftui_gestures). +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`: @@ -76,14 +76,6 @@ To card add `gester` and `offset`: .gesture(dragGester) ``` -#### Animation - -In preview I am use Spring animation for all cards: - -```swift -.animation(.spring()) -``` - #### 3D For add 3D rotation for back cards use code: @@ -94,6 +86,14 @@ For add 3D rotation for back cards use code: For medium card use 30 angles. +#### Animation + +In preview I am use Spring animation for all cards: + +```swift +.animation(.spring()) +``` + ### Transition And Blur