I'm trying to bring the title for button action in alert as below

example string in button :  

[![enter image description here](https://i.stack.imgur.com/pzGuY.png)](https://i.stack.imgur.com/pzGuY.png)

```
let formattedString = NSMutableAttributedString()
            formattedString.append(NSAttributedString(string: "Text is small" ,
                                                      attributes: [NSAttributedStringKey.font: UIFont.systemFont(ofSize: 8.0)]))
            formattedString.append(NSAttributedString(string: "Text is large"))

```

In UIAlertcontroller action UIButton

```
.addAction(action: AABlurAlertAction(title: formattedString, style: AABlurActionStyle.modern)

```

But it refused to accept the **NSMutableAttributedString** to pass to title argument

Throws error 

```
Cannot convert value of type 'NSMutableAttributedString' to expected argument type 'String?'

```