DefaultCoreDataAdapterDelegate
An object implementing CoreDataAdapterDelegate
is responsible for saving the target managed object context at the request of the QSCoreDataAdapter
in order to persist any downloaded changes.
public class DefaultCoreDataAdapterDelegate: CoreDataAdapterDelegate
#
Inheritance#
Initializersinit()
#
Creates a new instance of the default adapter delegate.
public init()
#
Propertiesshared
#
Shared instance, providing a default implementation.
public static let shared
#
MethodscoreDataAdapter(_:requestsContextSaveWithCompletion:)
#
public func coreDataAdapter(_ adapter: CoreDataAdapter, requestsContextSaveWithCompletion completion: (Error?) -> ())
coreDataAdapter(_:didImportChanges:completion:)
#
public func coreDataAdapter(_ adapter: CoreDataAdapter, didImportChanges importContext: NSManagedObjectContext, completion: (Error?) -> ())