<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSManagedObjectContextConcurrencyType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:@E@NSManagedObjectContextConcurrencyType"
  },
  "title" : "NSManagedObjectContextConcurrencyType"
}
-->

# NSManagedObjectContextConcurrencyType

The concurrency types you can use with a managed object context.

```
enum NSManagedObjectContextConcurrencyType
```

## Topics

### Concurrency Types

[`NSPrivateQueueConcurrencyType`](/documentation/CoreData/NSManagedObjectContextConcurrencyType/privateQueueConcurrencyType)

Specifies that the context will be associated with a private dispatch queue.

[`NSMainQueueConcurrencyType`](/documentation/CoreData/NSManagedObjectContextConcurrencyType/mainQueueConcurrencyType)

Specifies that the context will be associated with the main queue.

[`NSConfinementConcurrencyType`](/documentation/CoreData/NSManagedObjectContextConcurrencyType/confinementConcurrencyType)

Specifies that the context will use the thread confinement pattern.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)