<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextFormattingViewController/Delegate-swift.protocol",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So30UITextFormattingViewControllerC5UIKitE8DelegateP"
  },
  "title" : "UITextFormattingViewController.Delegate"
}
-->

# UITextFormattingViewController.Delegate

```
@MainActor protocol Delegate : AnyObject
```

## Topics

### Instance Methods

[`func textFormattingDidFinish(UITextFormattingViewController)`](/documentation/UIKit/UITextFormattingViewController/Delegate-swift.protocol/textFormattingDidFinish(_:))

[`func textFormattingViewController(UITextFormattingViewController, didChangeValue: UITextFormattingViewController.ChangeValue)`](/documentation/UIKit/UITextFormattingViewController/Delegate-swift.protocol/textFormattingViewController(_:didChangeValue:))

[`func textFormattingViewController(UITextFormattingViewController, shouldPresentColorPicker: UIColorPickerViewController) -> Bool`](/documentation/UIKit/UITextFormattingViewController/Delegate-swift.protocol/textFormattingViewController(_:shouldPresentColorPicker:))

[`func textFormattingViewController(UITextFormattingViewController, shouldPresentFontPicker: UIFontPickerViewController) -> Bool`](/documentation/UIKit/UITextFormattingViewController/Delegate-swift.protocol/textFormattingViewController(_:shouldPresentFontPicker:))

---

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)