      - Returns: A boolean indicating if the textView should interact with a URL in
      a given character range, true if yes, false otherwise.
      */
-    @available(iOS 8.0, *)
+    @available(iOS, introduced: 8.0, obsoleted: 10.0)
     @objc
     optional func editor(editor: Editor, textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange) -> Bool
     

     - Returns: A boolean indicating if the textView should interact with a 
     NSTextAttachment in a given character range, true if yes, false otherwise.
     */
    @available(iOS 8.0, *)
    @objc
    optional func editor(editor: Editor, textView: UITextView, shouldInteractWith textAttachment: NSTextAttachment, in characterRange: NSRange) -> Bool
    

    }
}

@available(iOS, introduced: 8.0, obsoleted: 10.0)
extension Editor {
    open func textView(_ textView: UITextView, shouldInteractWith URL: URL, in characterRange: NSRange) -> Bool {
        return delegate?.editor?(editor: self, textView: textView, shouldInteractWith: URL, in: characterRange) ?? true
