RichTextViewDelegate.swift 434 B

123456789101112131415
  1. //
  2. // RichTextViewDelegate.swift
  3. // RichTextView
  4. //
  5. // Created by Ahmed Elkady on 2019-03-15.
  6. // Copyright © 2019 Top Hat. All rights reserved.
  7. //
  8. import UIKit
  9. @objc public protocol RichTextViewDelegate: UITextViewDelegate {
  10. func didTapCustomLink(withID linkID: String)
  11. @objc optional func canPerformRichTextViewAction(_ action: Selector, withSender sender: Any?) -> Bool
  12. @objc optional func copyMenuItemTapped()
  13. }