---
title: WritableKeyPath
framework: swift
role: symbol
role_heading: Class
path: swift/writablekeypath
---

# WritableKeyPath

A key path that supports reading from and writing to the resulting value.

## Declaration

```swift
class WritableKeyPath<Root, Value>
```

## Relationships

### Inherits From

- [KeyPath](swift/keypath.md)

### Inherited By

- [ReferenceWritableKeyPath](swift/referencewritablekeypath.md)

### Conforms To

- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)

## See Also

### Writable Key Paths

- [ReferenceWritableKeyPath](swift/referencewritablekeypath.md)
