2 // ResourceHistoryDataStore.swift
5 // Created by Hori,Masaki on 2017/01/06.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 final class ResourceHistoryDataStore: CoreDataManager {
13 static let core = CoreDataCore(CoreDataConfiguration("ResourceHistory"))
15 static let `default` = ResourceHistoryDataStore(type: .reader)
17 required init(type: CoreDataManagerType) {
19 context = ResourceHistoryDataStore.context(for: type)
24 save(errorHandler: presentOnMainThread)
27 let context: NSManagedObjectContext