MMTextView.m 390 B

12345678910111213141516171819202122
  1. //
  2. // MMTextView.m
  3. // RichTextEditDemo
  4. //
  5. // Created by aron on 2017/7/20.
  6. // Copyright © 2017年 aron. All rights reserved.
  7. //
  8. #import "MMTextView.h"
  9. @implementation MMTextView
  10. - (void)deleteBackward {
  11. [super deleteBackward];
  12. if ([_mm_delegate respondsToSelector:@selector(textViewDeleteBackward:)]) {
  13. [_mm_delegate textViewDeleteBackward:self];
  14. }
  15. }
  16. @end