-
 import UIKit
 import Foundation
 

        delegate?.textViewDidChange?(self)
    }
}


        guard recognizer.state == .recognized else {
            return
        }

        let locationInTextView = recognizer.location(in: textView)
        guard let attachment = textView.attachmentAtPoint(locationInTextView) else {
            return
        }

        textView.moveSelectionToPoint(locationInTextView)

