Skip to main content

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#

CoreDataAdapterDelegate

Initializers#

init()#

Creates a new instance of the default adapter delegate.

public init() 

Properties#

shared#

Shared instance, providing a default implementation.

public static let shared 

Methods#

coreDataAdapter(_:requestsContextSaveWithCompletion:)#

public func coreDataAdapter(_ adapter: CoreDataAdapter, requestsContextSaveWithCompletion completion: (Error?) -> ()) 

coreDataAdapter(_:didImportChanges:completion:)#

public func coreDataAdapter(_ adapter: CoreDataAdapter, didImportChanges importContext: NSManagedObjectContext, completion: (Error?) -> ())