Instance Property

managedObjectContext

The managed object context used to fetch objects.

Declaration

var managedObjectContext: NSManagedObjectContext { get }

Discussion

The controller registers to listen to change notifications on this context and properly update its result set and section information. 

See Also

Getting Configuration Information

var fetchRequest: NSFetchRequest<ResultType>

The fetch request used to do the fetching.

var sectionNameKeyPath: String?

The key path on the fetched objects used to determine the section they belong to.

var cacheName: String?

The name of the file used to cache section information.

var delegate: NSFetchedResultsControllerDelegate?

The object that is notified when the fetched results changed.

class func deleteCache(withName: String?)

Deletes the cached section information with the given name.