<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableViewRowAction/Style-swift.enum/destructive",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTableViewRowActionStyle@NSTableViewRowActionStyleDestructive"
  },
  "title" : "NSTableViewRowAction.Style.destructive"
}
-->

# NSTableViewRowAction.Style.destructive

Apply a style that indicates that the action might change or delete data. This style changes the value of the [`backgroundColor`](/documentation/AppKit/NSTableViewRowAction/backgroundColor) property to an appropriate value to reflect the destructive action. After creating the action object, you can change the background color as needed. Destructive actions require a longer swipe to activate, and trigger an animation when a table row is deleted.

```
case destructive
```

---

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)