---
title: "managedObjectContextDidRegisterObjects(with:)"
framework: coredata
role: symbol
role_heading: Instance Method
path: "coredata/nsincrementalstore/managedobjectcontextdidregisterobjects(with:)"
---

# managedObjectContextDidRegisterObjects(with:)

Indicates that objects identified by a given array of object IDs are in use in a managed object context.

## Declaration

```swift
func managedObjectContextDidRegisterObjects(with objectIDs: [NSManagedObjectID])
```

## Parameters

- `objectIDs`: An array of object IDs.

## Discussion

Discussion This method and managedObjectContextDidUnregisterObjects(with:) allow managed object contexts to communicate interest in the row data of specific objects in a manner akin to reference counting. For more details, see managedObjectContextDidUnregisterObjects(with:).

## See Also

### Responding to Context Changes

- [managedObjectContextDidUnregisterObjects(with:)](coredata/nsincrementalstore/managedobjectcontextdidunregisterobjects(with:).md)
