Add counter example to show viewActions modifying the state.

This commit is contained in:
David Langley
2021-09-20 17:05:54 +01:00
parent 370d4271eb
commit 83935d2b7a
11 changed files with 65 additions and 47 deletions
@@ -17,6 +17,8 @@
import Foundation
enum TemplateUserProfileViewAction {
case incrementCount
case decrementCount
case cancel
case done
}