ios nsattributedstring objective-c swift

How do you clear attributes from NSMutableAttributedString?

How do you set all the attributes in an NSMutableAttributedString to nothing? Do you have to enumerate through them and remove them?

I don’t want to create a new one. I am working on the textStorage in NSTextView. Setting a new string resets the cursor position in NSTextView and fires the delegate.