Removing lagging latency during continuous period of drawing UIBezierPath in Swift
问题 The code below draws lines by overriding touches, however lagging begins to occur over a period of continuous non stop drawing. This lagging accumulates and gets worse the longer the finger remains moving across the screen. The result is the CPU nearly maxes out on an actual device (CPU 98%+) and the resulting image looks choppy the longer the drawing continues. Also, when drawing extra fast especially in circles, there is a discrepancy in the paths drawn between the path and temporaryPath