---
title: UITextSmartInsertDeleteType
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uitextsmartinsertdeletetype
---

# UITextSmartInsertDeleteType

Constants that specify whether to automatically insert extra spaces after a paste operation or to delete them after a cut or delete operation.

## Declaration

```swift
enum UITextSmartInsertDeleteType
```

## Topics

### Constants

- [UITextSmartInsertDeleteType.default](uikit/uitextsmartinsertdeletetype/default.md)
- [UITextSmartInsertDeleteType.no](uikit/uitextsmartinsertdeletetype/no.md)
- [UITextSmartInsertDeleteType.yes](uikit/uitextsmartinsertdeletetype/yes.md)

### Initializers

- [init(rawValue:)](uikit/uitextsmartinsertdeletetype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring the autoformatting behaviors

- [smartQuotesType](uikit/uitextinputtraits/smartquotestype.md)
- [UITextSmartQuotesType](uikit/uitextsmartquotestype.md)
- [smartDashesType](uikit/uitextinputtraits/smartdashestype.md)
- [UITextSmartDashesType](uikit/uitextsmartdashestype.md)
- [smartInsertDeleteType](uikit/uitextinputtraits/smartinsertdeletetype.md)
