Chatto/ChattoAdditions/Source/Chat Items/TextMessages
Diego Sánchez 37dd3bd562 Minor performance improvements for TextBubble (#166)
* Minor performance improvements:
 - Avoids updating font and color in TextBubble if it's not needed: would make attributed text to update
 - Avoids updating views in selected setter if value didn't change (setter is called by the collection view as part of dequeuing)
 - Avoids creating dictionary of attributes all the time for date attributed string (for some reason this was appearing in profiling with some swift-to-objc conversions)

Uses enum as image key in text style for greater safety.

* Removes linter warnings
2016-06-27 23:03:32 +01:00
..
Views Minor performance improvements for TextBubble (#166) 2016-06-27 23:03:32 +01:00
TextMessageModel.swift Updates to Swift 2.2 2016-04-11 14:22:56 +01:00
TextMessagePresenter.swift Updates to Swift 2.2 2016-04-11 14:22:56 +01:00
TextMessagePresenterBuilder.swift Fix a class name typo 2016-03-08 22:02:59 -08:00
TextMessageViewModel.swift Relax MessageModelProtocol and MessageViewModelProtocol requirements. 2016-02-18 12:37:50 +00:00