Skip to content

Commit

Permalink
dataDetectorTypes for ChatTextView
Browse files Browse the repository at this point in the history
  • Loading branch information
nixzhu committed Jan 21, 2016
1 parent 1440fb2 commit e93a487
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Yep/Views/TextViews/ChatTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ class ChatTextView: UITextView {
super.didMoveToSuperview()

self.delegate = self

editable = false
dataDetectorTypes = [.Link, .PhoneNumber, .CalendarEvent]
}

override var text: String! {
Expand Down

0 comments on commit e93a487

Please sign in to comment.