---
title: "textPasteConfigurationSupporting(_:combineItemAttributedStrings:for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitextpastedelegate/textpasteconfigurationsupporting(_:combineitemattributedstrings:for:)"
---

# textPasteConfigurationSupporting(_:combineItemAttributedStrings:for:)

Asks the delegate to combine multiple strings into a single attributed string.

## Declaration

```swift
optional func textPasteConfigurationSupporting(_ textPasteConfigurationSupporting: any UITextPasteConfigurationSupporting, combineItemAttributedStrings itemStrings: [NSAttributedString], for textRange: UITextRange) -> NSAttributedString
```

## Parameters

- `textPasteConfigurationSupporting`: The object that received the paste or drop request.
- `itemStrings`: An array of attributed strings that will be combined to form a single attributed string.
- `textRange`: The position in the text view where the paste or drop operation will place the text.

## Return Value

Return Value An attributed string based on the combination of multiple strings.

## Discussion

Discussion You implement this method when you need to change how the item strings are combined to form the single attributed string. If this method isn’t implemented, the item strings are concatenated without any delimiters.

## See Also

### Pasting the text paste item

- [textPasteConfigurationSupporting(_:performPasteOf:to:)](uikit/uitextpastedelegate/textpasteconfigurationsupporting(_:performpasteof:to:).md)
