Skip to content

Commit

Permalink
Swift 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Datt committed Nov 5, 2019
1 parent daa128d commit c523dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TagNameDetection/TagNameDetection/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class ViewController: UIViewController {
txtMain.clearTextWithTag()
}
}
// MARK:- DPTagTextViewDelegate
// MARK:- UITextViewDelegate
extension ViewController : UITextViewDelegate {
func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {
return txtMain.textView(textView, shouldChangeTextIn: range, replacementText: text) // Required for functionality to work.
Expand Down

0 comments on commit c523dc0

Please sign in to comment.