I was implementing a search in
UITableViewController and received a task to also highlight the searched words in the results. This is not a behaviour that is already implemented in the iOS components (
UILabel) so I had to come up with my own solution. I will share this solution with you.