---
title: keyPath
framework: objectivec
role: symbol
role_heading: Instance Property
path: objectivec/nsobject-swift.class/keyvalueobservingpublisher/keypath
---

# keyPath

The key path, relative to the object receiving this message, of the property to publish.

## Declaration

```swift
let keyPath: KeyPath<Subject, Value>
```

## See Also

### Inspecting KVO Publisher Properties

- [object](objectivec/nsobject-swift.class/keyvalueobservingpublisher/object.md)
- [options](objectivec/nsobject-swift.class/keyvalueobservingpublisher/options.md)
