<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSKeyValueChangeKey/indexesKey",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSKeyValueChangeIndexesKey"
  },
  "title" : "indexesKey"
}
-->

# indexesKey

If the value of the [`kindKey`](/documentation/Foundation/NSKeyValueChangeKey/kindKey) entry is [`NSKeyValueChange.insertion`](/documentation/Foundation/NSKeyValueChange/insertion), [`NSKeyValueChange.removal`](/documentation/Foundation/NSKeyValueChange/removal), or [`NSKeyValueChange.replacement`](/documentation/Foundation/NSKeyValueChange/replacement), the value of this key is an `NSIndexSet` object that contains the indexes of the inserted, removed, or replaced objects.

```
static let indexesKey: NSKeyValueChangeKey
```

---

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)