<!--
{
  "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/NSKeyValueChange",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSKeyValueChange"
  },
  "title" : "NSKeyValueChange"
}
-->

# NSKeyValueChange

The kinds of changes that can be observed.

```
enum NSKeyValueChange
```

## Overview

These constants are returned as the value for a [`kindKey`](/documentation/Foundation/NSKeyValueChangeKey/kindKey) key in the change dictionary passed to <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/observeValue(forKeyPath:of:change:context:)> indicating the type of change made.

## Topics

### Constants

[`NSKeyValueChange.setting`](/documentation/Foundation/NSKeyValueChange/setting)

Indicates that the value of the observed key path was set to a new value. This change can occur when observing an attribute of an object, as well as properties that specify to-one and to-many relationships.

[`NSKeyValueChange.insertion`](/documentation/Foundation/NSKeyValueChange/insertion)

Indicates that an object has been inserted into the to-many relationship that is being observed.

[`NSKeyValueChange.removal`](/documentation/Foundation/NSKeyValueChange/removal)

Indicates that an object has been removed from the to-many relationship that is being observed.

[`NSKeyValueChange.replacement`](/documentation/Foundation/NSKeyValueChange/replacement)

Indicates that an object has been replaced in the to-many relationship that is being observed.



---

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)