Created
February 19, 2019 11:43
-
-
Save noxt/ca77ca21c00be0e6fa25f21e31943a5f to your computer and use it in GitHub Desktop.
AppFeature State
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
// Features/App/AppState.swift | |
extension AppFeature { | |
struct State: Codable { | |
let accountsState: AccountsFeature.State | |
let categoriesState: CategoriesFeature.State | |
let keyboardState: KeyboardFeature.State | |
let transactionState: TransactionFeature.State | |
static let initial = State( | |
accountsState: .initial, | |
categoriesState: .initial, | |
keyboardState: .initial, | |
transactionState: .initial | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment