---
title: "viewFrameChanged(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsclipview/viewframechanged(_:)"
---

# viewFrameChanged(_:)

Handles an frameDidChangeNotification, passed in the aNotification argument, by updating a containing NSScrollView based on the new frame.

## Declaration

```swift
func viewFrameChanged(_ notification: Notification)
```

## See Also

### Overriding NSView Methods

- [viewBoundsChanged(_:)](appkit/nsclipview/viewboundschanged(_:).md)
