Oneshot, Programming, iOS App Development.
if all these setNeedsDisplay are necessary. In fact I am pretty sure they are not and where added while trying to fix a display bug at some point. I am not going to really get into the OSHighlight class. It basically keeps track of what is highlighted and generates a path to draw that highlight.