---
title: NSKeyValueObservation
framework: foundation
role: symbol
role_heading: Class
path: foundation/nskeyvalueobservation
---

# NSKeyValueObservation

## Declaration

```swift
@objc(_NSKeyValueObservation) class NSKeyValueObservation
```

## Topics

### Instance Methods

- [invalidate()](foundation/nskeyvalueobservation/invalidate().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Classes

- [NSKeyValueSharedObservers](foundation/nskeyvaluesharedobservers.md)
- [NSKeyValueSharedObserversSnapshot](foundation/nskeyvaluesharedobserverssnapshot.md)
