<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -",
    "macCatalyst: 18.2.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWritingToolsCoordinator/TextAnimation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIWritingToolsCoordinatorTextAnimation"
  },
  "title" : "UIWritingToolsCoordinator.TextAnimation"
}
-->

# UIWritingToolsCoordinator.TextAnimation

The types of animations that Writing Tools performs during an interactive
update of your view.

```
enum TextAnimation
```

## Overview

Use the `UIWritingToolsCoordinator/TextAnimation` constants to determine
the type of animation that is occurring. During an interactive change to
your view, Writing Tools creates animations to provide feedback about what’s
happening. During the setup for each animation, Writing Tools reports the
type of animation to the coordinator’s delegate, so that you can perform
additional actions related to that animation. For example, during an insertion
animation, you might animate changes to other views in your interface.

## Topics

### Getting the animation types

[`case anticipate`](/documentation/UIKit/UIWritingToolsCoordinator/TextAnimation/anticipate)

The animation that Writing Tools performs when waiting to receive
results from the large language model.

[`case insert`](/documentation/UIKit/UIWritingToolsCoordinator/TextAnimation/insert)

The animation that Writing Tools performs when inserting text into your view.

[`case remove`](/documentation/UIKit/UIWritingToolsCoordinator/TextAnimation/remove)

The animation that Writing Tools performs when removing text from your view.

### Enumeration Cases

[`case indicateGrammar`](/documentation/UIKit/UIWritingToolsCoordinator/TextAnimation/indicateGrammar)

The animation effect that Writing Tools performs on grammar issues
when they are first indicated.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UIWritingToolsCoordinator/TextAnimation/init(rawValue:))

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

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)