I don't know any buzz word for this technique, so I was not lucky to find something in search engines.
I want to achieve an effect, that makes an UILabel use the nagative color of the background for its text color, (black and white like in the picture would be enough for my purpose). By using attributedText I could color every letter, but as you can see in this picture, I want an effect that can lead to different colors for a single letter. My best guess would be to rasterize the label and color every single pixel, but I assume there are better ways in terms of performance. Any hints would be appreciated.