PeteC/TTTAttributedLabel — comment on commit b49f0171eced9fdffdb660c959015e809732fbb4
File:  line 0
By lhasiuk:

Thanks for your work on this, it's almost exactly what I need! I made a small change that I think is worthwhile. It looks like core text does word truncation, which for me meant that the ellipsis would often be at the expense of characters that could easily fit along with the ellipsis. In other words, there's plenty of room for both. What my change does is to first try appending the ellipsis to the remaining text (in the case of tail truncation). If it doesn't fit, then it defers to the previous method. I'm going to try to figure out how to check this change in, since I've never done that before.