Chatto/ChattoAdditions/Source/Chat Items/TextMessages/Views
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
..
TextBubbleView.swift Minor performance improvements for TextBubble (#166) 2016-06-27 23:03:32 +01:00
TextMessageCollectionViewCell.swift Make Subclassing BaseMessageCollectionViewCell Possible Outside of ChattoAdditions Module 2016-02-26 17:20:14 +02:00
TextMessageCollectionViewCellDefaultStyle.swift Minor performance improvements for TextBubble (#166) 2016-06-27 23:03:32 +01:00