Update Example to Swift 4.2

This commit is contained in:
Nathan Tannar
2018-09-29 12:24:01 -07:00
parent dbf9d65d14
commit d806da72e0
13 changed files with 47 additions and 47 deletions
@@ -48,7 +48,7 @@ extension BasicExampleViewController: MessagesDisplayDelegate {
return isFromCurrentSender(message: message) ? .white : .darkText
}
func detectorAttributes(for detector: DetectorType, and message: MessageType, at indexPath: IndexPath) -> [NSAttributedStringKey: Any] {
func detectorAttributes(for detector: DetectorType, and message: MessageType, at indexPath: IndexPath) -> [NSAttributedString.Key: Any] {
return MessageLabel.defaultAttributes
}