Description of the Issue
macOS 14 added new cases to the NSBezierPath.ElementType, namely .cubicCurveTo(== rename of .curveTo) and .quadraticCurveTo.
Therefore compiling NSBezierPath+CrossPlatform fails to build in a project on macOS 14.x with the error that the switch (on line 42) is must be exhaustive.
For me it is not obvious how to solve the case for the quadraticCurveTo, as it takes only two points. Not sure which points to take from the array of points as argument in the call to addQuadCurve(to:,controlPoint:).
Description of the Issue macOS 14 added new cases to the
NSBezierPath.ElementType
, namely.cubicCurveTo
(== rename of.curveTo
) and.quadraticCurveTo
. Therefore compilingNSBezierPath+CrossPlatform
fails to build in a project on macOS 14.x with the error that the switch (on line 42) is must be exhaustive. For me it is not obvious how to solve the case for thequadraticCurveTo
, as it takes only two points. Not sure which points to take from the array of points as argument in the call toaddQuadCurve(to:,controlPoint:)
.Sample SVG NA
Screenshots NA