Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ErmakovAleks authored Feb 13, 2024
1 parent 6cffb5e commit fa878e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ The purpose of the first three arguments is described above in the section on us
```swift
@State private var currentOfset = CGPoint(x: 0.0, y: 0.0)
```
**IMPORTANT**: to start animation on the created instance of `RepresentedAnimatedView`, call the animate() method:
**IMPORTANT**: to start animation on the created instance of `RepresentedAnimatedView`, call the animate() method as shown in the example above:
```swift
animatedView.animate() as shown in the example above
animatedView.animate()
```
**IMPORTANT**: to maintain the ability to interact with controls that are under the `RepresentedAnimatedView`, add the `.disabled` modifier, as indicated in the example above:
```swift
Expand Down

0 comments on commit fa878e9

Please sign in to comment.