mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-07-12 07:42:44 +02:00
Update README.md
This commit is contained in:
@@ -76,6 +76,14 @@ To card add `gester` and `offset`:
|
|||||||
.gesture(dragGester)
|
.gesture(dragGester)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Animation
|
||||||
|
|
||||||
|
In preview I am use Spring animation for all cards:
|
||||||
|
|
||||||
|
```swift
|
||||||
|
.animation(.spring())
|
||||||
|
```
|
||||||
|
|
||||||
#### 3D
|
#### 3D
|
||||||
|
|
||||||
For add 3D rotation for back cards use code:
|
For add 3D rotation for back cards use code:
|
||||||
@@ -86,14 +94,6 @@ For add 3D rotation for back cards use code:
|
|||||||
|
|
||||||
For medium card use 30 angles.
|
For medium card use 30 angles.
|
||||||
|
|
||||||
#### Animation
|
|
||||||
|
|
||||||
In preview I am use Spring animation for all cards:
|
|
||||||
|
|
||||||
```swift
|
|
||||||
.animation(.spring())
|
|
||||||
```
|
|
||||||
|
|
||||||
### Transition And Blur
|
### Transition And Blur
|
||||||
|
|
||||||
<img src="Resources/TransitionBlur.png" width="700">
|
<img src="Resources/TransitionBlur.png" width="700">
|
||||||
|
|||||||
Reference in New Issue
Block a user