Skip to content

Commit aa87933

Browse files
stephencelismluisbrown
authored andcommitted
Update case study README
1 parent 04431ad commit aa87933

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Examples/CaseStudies/SwiftUICaseStudies/01-GettingStarted-Animations.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ private let readMe = """
77
`Store` processes actions sent to it synchronously you can typically perform animations \
88
in the Composable Architecture just as you would in regular SwiftUI.
99
10-
To animate the changes made to state when an action is sent to the store you only need to wrap \
11-
instances of `viewStore.send` in a `withAnimations` block. For example, when sending an action \
12-
to the store when a button is tapped.
10+
To animate the changes made to state when an action is sent to the store you can pass along an \
11+
explicit animation, as well, or you can call `viewStore.send` in a `withAnimation` block.
1312
1413
To animate changes made to state through a binding, use the `.animation` method on `Binding`.
1514

0 commit comments

Comments
 (0)