---
title: "handleQuery(withUnboundKey:)"
framework: objectivec
role: symbol
role_heading: Instance Method
path: "objectivec/nsobject-swift.class/handlequery(withunboundkey:)"
---

# handleQuery(withUnboundKey:)

Invoked by value(forKey:) when it finds no property corresponding to key.

## Declaration

```swift
func handleQuery(withUnboundKey key: String) -> Any?
```

## See Also

### Deprecated Methods

- [useStoredAccessor()](objectivec/nsobject-swift.class/usestoredaccessor().md)
- [handleTakeValue(_:forUnboundKey:)](objectivec/nsobject-swift.class/handletakevalue(_:forunboundkey:).md)
- [storedValue(forKey:)](objectivec/nsobject-swift.class/storedvalue(forkey:).md)
- [takeStoredValue(_:forKey:)](objectivec/nsobject-swift.class/takestoredvalue(_:forkey:).md)
- [takeValues(from:)](objectivec/nsobject-swift.class/takevalues(from:).md)
- [takeValue(_:forKeyPath:)](objectivec/nsobject-swift.class/takevalue(_:forkeypath:).md)
- [takeValue(_:forKey:)](objectivec/nsobject-swift.class/takevalue(_:forkey:).md)
- [unableToSetNil(forKey:)](objectivec/nsobject-swift.class/unabletosetnil(forkey:).md)
- [values(forKeys:)](objectivec/nsobject-swift.class/values(forkeys:).md)
