CoreData manager for Swift 4.2
Import CoreDataManager.swift into your Xcode project to easily work with CoreData stores across multiple View Controllers. CoreDataManager.sharedManager
provides a single point of entry / access for your project's CoreData implementation, as well as convenience references and functions for common actions.
.sharedManager
.sharedManager.managedContext
.sharedManager.persistentContainer
.sharedManager.fetchedResultsController
.sharedManager.saveContext