ClippingBezier
ClippingBezier copied to clipboard
Mac Compatibity
Hi Adam, How to port this for the Mac app? Thanks
I think it'd need a fair bit of work to port to Mac use. The biggest change would be moving all UIBezierPath to NSBezierPath, ideally something like:
#if TARGET_OS_IPHONE
#define BezierPathClass UIBezierpath
#else
#define BezierPathClass NSBezierpath
#endif
and then replacing all UIBezierPath with BezierPathClass. The same would need to be done for PerformanceBezier too. That'd get a fair bit of the way there.