Created
June 19, 2020 09:04
-
-
Save atimca/b7a3d64c29f1e99bfe6b9a3dbd0a7bd4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 AppState { | |
var user: User | |
var newsState: NewsState? | |
} | |
enum AppEvent { | |
case newUserWasLoaded(User) | |
case newsEvents(NewsEvent) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment