<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: 26.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextFormattingViewControllerChangeValue",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITextFormattingViewControllerChangeValue"
  },
  "title" : "UITextFormattingViewControllerChangeValue"
}
-->

# UITextFormattingViewControllerChangeValue

Describes text formatting change that is a result of user action.
Contains type of change, any associated value that may be applicable to that change.

```
@interface UITextFormattingViewControllerChangeValue : NSObject
```

## Topics

### Instance Properties

[`@property (nonatomic, readonly) UITextFormattingViewControllerChangeType changeType;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/changeType)

Type of change.

[`@property (nonatomic, copy, readonly, nullable) UIColor * color;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/color)

Any color value that may be associated with the change.
For example, this property will be available if user has changed text color.

[`@property (nonatomic, copy, readonly, nullable) UIFont * font;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/font)

Any font that may be associated with the change.
For example, this property will be available in case of font typography settings change or new font selection.

[`@property (nonatomic, copy, readonly, nullable) NSString * formattingStyleKey;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/formattingStyleKey)

On formatting style change, use this property to determine selected style.

[`@property (nonatomic, copy, readonly, nullable) UITextFormattingViewControllerHighlight highlight;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/highlight)

Text highlight associated with the `UITextFormattingViewControllerHighlightChangeType`.
If property is nil for `UITextFormattingViewControllerHighlightChangeType`, it indicates highlight has been removed.

[`@property (nonatomic, copy, readonly, nullable) NSNumber * numberValue;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/numberValue)

Any number value that may be associated with the change.
For example, if case of font point size change, this property will reflect new point size.

[`@property (nonatomic, readonly) NSTextAlignment textAlignment;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/textAlignment)

Text alignment associated with the `UITextFormattingViewControllerTextAlignmentChangeType`.

[`@property (nonatomic, copy, readonly, nullable) UITextFormattingViewControllerTextList textList;`](/documentation/UIKit/UITextFormattingViewControllerChangeValue/textList)

Text list style associated with the `UITextFormattingViewControllerTextListChangeType`.
If property is nil for `UITextFormattingViewControllerTextListChangeType`, it indicates text list has been removed.

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)