<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/CustomAction/apply(table:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit12CustomActionP5apply5tableyAA10TableStateVz_tF"
  },
  "title" : "apply(table:)"
}
-->

# apply(table:)

Implement this function to perform the changes to the table state that this action represents. It is important that the code performed in this function is only
a function of the provided table state and the data of the action instance.

```
func apply(table: inout TableState)
```

## Parameters

`table`

The table to modify.

---

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)