<!--
{
  "availability" : [
    "macOS: 15.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWritingToolsCoordinator/AnimationParameters/completionHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWritingToolsCoordinatorAnimationParameters(py)completionHandler"
  },
  "title" : "completionHandler"
}
-->

# completionHandler

A custom block to run when the system animations finish.

```
var completionHandler: (() -> Void)? { get set }
```

## Discussion

Set this property to a block that you want the system to run when any
animations finish. The block you provide must have no return value
and no parameters. The system executes this block once when the current
animation finish.

---

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)