mattt/TTTAttributedLabel — pull request #77 by blommegard (2012-04-04 22:56:35+00:00)
Title: Correct truncation handling.

This will fix a number of truncation problems:
* Cleaner truncation code in general
* Correct adding token by using CT function and not append "…" manually in some cases and risk to get it twice
* Attributes for the truncation token is picked from the correct position in the string, not always the last

To easy test the different options, remove 30 pt from the cell height and fiddle around with the lineBreakMode-property in the sample app. This will generate both single and multiple lines with truncation.