pod 'ReSwift-Persist'
// App state should comforms PersistState
struct AppState: PersistState { }
// Initialize PersistStore
var config = PersistConfig(persistDirectory: "data", version: "1")
config.debug = true
let persistStore = PersistStore(config: config, reducer: appReducer, state: nil)
Please check Todo example for usage detail.
Inspired by ReSwift and Redux-persist
Distributed under the MIT License (MIT).