UZTextViewDelegate Protocol Reference
Conforms to | NSObject |
Declared in | UZTextView.h |
Overview
UZTextViewDelegate protocol is order to receive selecting, scrolling-related messages for UZTextView objcects. All of the methods in this protocol are optional. You can use the methods in order to lock parent view’s scroll while user selects text on UZTextView object.
Tasks
-
– textView:didClickLinkAttribute:
required method -
– selectionDidBeginTextView:
required method -
– selectionDidEndTextView:
required method -
– didTapTextDoesNotIncludeLinkTextView:
required method
Instance Methods
didTapTextDoesNotIncludeLinkTextView:
Tells the delegate that tap an area which does not include any links.
- (void)didTapTextDoesNotIncludeLinkTextView:(UZTextView *)textView
Parameters
- textView
The text view in which is tapped.
Discussion
You can use this delegate method to pass this event to parent views. For example, you can select/deselect the UITableViewCell object whose UZTextView is tapped by an user.
Declared In
UZTextView.h
selectionDidBeginTextView:
Tells the delegate that selecting of the specified text view has begun.
- (void)selectionDidBeginTextView:(UZTextView *)textView
Parameters
- textView
The text view in which selecting began.
Discussion
You can use this delegate method in order to make its parent view disabled scrolling.
Declared In
UZTextView.h
selectionDidEndTextView:
Tells the delegate that selecting of the specified text view has ended.
- (void)selectionDidEndTextView:(UZTextView *)textView
Parameters
- textView
The text view in which selecting ended.
Discussion
You can use this delegate method in order to make its parent view enabled scrolling.
Declared In
UZTextView.h
textView:didClickLinkAttribute:
Tells the delegate that a link attribute has been tapped.
- (void)textView:(UZTextView *)textView didClickLinkAttribute:(id)value
Parameters
- textView
The text view in which the link is tapped.
- value
The link attribute data which is specified as NSAttributedString’s methods.
Declared In
UZTextView.h