---
title: snapshot()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/nskeyvaluesharedobservers/snapshot()
---

# snapshot()

A momentary snapshot of all observers added to the collection thus far, that can be assigned to an observable using -[NSObject setSharedObservers:]

## Declaration

```swift
func snapshot() -> NSKeyValueSharedObserversSnapshot
```
