<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSFetchIndexElementDescription",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFetchIndexElementDescription"
  },
  "title" : "NSFetchIndexElementDescription"
}
-->

# NSFetchIndexElementDescription

Description of an Index Element

```
class NSFetchIndexElementDescription
```

## Topics

### Creating an Index Element Description

[`-  initWithProperty:collationType:`](/documentation/CoreData/NSFetchIndexElementDescription/init(property:collationType:))

Creates an index element description using the specified property description and collation type.

### Inspecting an Index Element Description

[`collationType`](/documentation/CoreData/NSFetchIndexElementDescription/collationType)

The type of collation that the index element uses, either binary or R-tree.

[`indexDescription`](/documentation/CoreData/NSFetchIndexElementDescription/indexDescription)

[`ascending`](/documentation/CoreData/NSFetchIndexElementDescription/isAscending)

A Boolean value that controls whether an index that supports direction is an ascending or descending index.

[`property`](/documentation/CoreData/NSFetchIndexElementDescription/property)

A property description.

[`propertyName`](/documentation/CoreData/NSFetchIndexElementDescription/propertyName)

The specified name in the property description.

## Relationships

### Conforms To

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

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)