---
title: managedObjectContext
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsfetchedresultscontroller/managedobjectcontext
---

# managedObjectContext

The managed object context used to fetch objects.

## Declaration

```swift
var managedObjectContext: NSManagedObjectContext { get }
```

## Discussion

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

- [fetchRequest](coredata/nsfetchedresultscontroller/fetchrequest.md)
- [sectionNameKeyPath](coredata/nsfetchedresultscontroller/sectionnamekeypath.md)
- [cacheName](coredata/nsfetchedresultscontroller/cachename.md)
- [delegate](coredata/nsfetchedresultscontroller/delegate.md)
- [deleteCache(withName:)](coredata/nsfetchedresultscontroller/deletecache(withname:).md)
