Created
December 30, 2017 15:27
-
-
Save RPallas92/328da1b40b8c34ec301b7ee7b2d32a65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Todo { | |
var text: String | |
var completed: Bool | |
} | |
enum VisibilityFilter { | |
case showCompleted | |
case showAll | |
} | |
struct State { | |
var todos: [Todo] | |
var visibilityFilter: VisibilityFilter | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment