Caching UIBezierPath Operations

Performance can become an issue when building complex Bezier paths. Adam Wulf on PerformanceBezier:

“This code dramatically improves performance for common UIBezierPath operations, and it also brings UIBezierPath API closer to its NSBezierPath counterpart.”

PerformanceBezier relies on method swizzling to do its magic.