How to color a part of a text in UITextField programmatically? The text is in a UITableView where each cell contains it text, and it\'s never the same text. So the color isn