2 // BookmarkDataStore.swift
5 // Created by Hori,Masaki on 2017/01/06.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
12 final class BookmarkDataStore: CoreDataManager {
14 static let core = CoreDataCore(CoreDataConfiguration("Bookmark"))
16 static let `default` = BookmarkDataStore(type: .reader)
18 required init(type: CoreDataManagerType) {
20 context = BookmarkDataStore.context(for: type)
25 save(errorHandler: presentOnMainThread)
28 let context: NSManagedObjectContext