<!--
{
  "availability" : [
    "macOS: 12.0.0 -",
    "swift: 5.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/Invalidations/Tuple",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:So6NSViewC6AppKitE13InvalidationsO5TupleV"
  },
  "title" : "NSView.Invalidations.Tuple"
}
-->

# NSView.Invalidations.Tuple

A change that invalidates a combination of factors covered by the other invalidation types.

```
struct Tuple<Invalidation1, Invalidation2> where Invalidation1 : NSViewInvalidating, Invalidation2 : NSViewInvalidating
```

## Overview

The system uses this type when a change invalidates multiple aspects of a view. Use a tuple of the static values defined in [`NSViewInvalidating`](/documentation/AppKit/NSViewInvalidating) when more than one invalidation type applies to a change.

## Topics

### Creating the invalidation type

[`init(Invalidation1, Invalidation2)`](/documentation/AppKit/NSView/Invalidations/Tuple/init(_:_:))

Creates the invalidation type.

### Invalidating the view

[`func invalidate(view: NSView)`](/documentation/AppKit/NSViewInvalidating/invalidate(view:))

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

## Relationships

### Conforms To

[`NSViewInvalidating`](/documentation/AppKit/NSViewInvalidating)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)