EGOTextView Sample

I played with EGOTextView for an iOS project and I was able to get a very simple edit. Really cool how it can connect to a UITextView . But now I’m afraid I don’t understand how to fully use it. Does anyone know an example using EGOTextView to edit EGOTextView text?

+8
ios iphone ipad editing richtext
source share
1 answer

You can call this method EGOTextView

  • (void) setFont: (font UIFont *)
  • (void) setText: (NSString *) text
  • (void) setAttributedString: (NSAttributedString *) string
  • (nullified) setEditable: (BOOL) editable
  • (void) drawContentInRect: (CGRect) Rectangle
  • (NSInteger) closestWhiteSpaceIndexToPoint: (CGPoint) point
  • (NSInteger) closestIndexToPoint: (CGPoint) point
  • (NSRange) characterRangeAtPoint _ :( CGPoint) point
  • (NSRange) characterRangeAtIndex: (NSInteger) Index
  • (voids) setCorrectionRange: (NSRange) in the range
  • (voids) setLinkRange: (NSRange) in range
  • (UIColor *) selectionColor
  • (UITextPosition *) positionFromPosition: (UITextPosition *) position offset: (NSInteger) offset
  • (voids) deleteBackward
  • (voids) checkLinksForRange: (NSRange) in range
  • (voids) checkSpellingForRange: (NSRange) in range
  • (void) longPress: (UILongPressGestureRecognizer *) gesture
  • (void) DoubleTap: (UITapGestureRecognizer *) gesture
  • (void) spellingCorrection: (UIMenuController *) sender

According to your need, many more method calls remain.

+1
source share

All Articles