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

# NSFetchRequestResultType

Constants that specify the possible result types a fetch request can return.

```
struct NSFetchRequestResultType
```

## Overview

These constants are used by [`resultType`](/documentation/CoreData/NSFetchRequest/resultType).

## Topics

### Result Types

[`NSManagedObjectResultType`](/documentation/CoreData/NSFetchRequestResultType/managedObjectResultType)

The request returns managed objects.

[`NSManagedObjectIDResultType`](/documentation/CoreData/NSFetchRequestResultType/managedObjectIDResultType)

The request returns managed object IDs.

[`NSDictionaryResultType`](/documentation/CoreData/NSFetchRequestResultType/dictionaryResultType)

The request returns dictionaries.

[`NSCountResultType`](/documentation/CoreData/NSFetchRequestResultType/countResultType)

The request returns the count of the objects that match the request.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)