---
title: "invalidate(view:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsviewinvalidating/invalidate(view:)"
---

# invalidate(view:)

Indicates to the system that an aspect of a view is invalid and triggers the necessary update.

## Declaration

```swift
func invalidate(view: NSView)
```

## Parameters

- `view`: The view that requires invalidating.

## Discussion

Discussion A type that conforms to UIViewInvalidating implements this method to perform any actions necessary to notify the system that an aspect of your view is invalid. For more info, see NSView.Invalidating.

## See Also

### Supporting Types

- [NSView.Invalidations](appkit/nsview/invalidations.md)
