You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:).
Sample SVG
NA
Screenshots
NA
The text was updated successfully, but these errors were encountered:
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 toaddQuadCurve(to:,controlPoint:)
.Sample SVG
NA
Screenshots
NA
The text was updated successfully, but these errors were encountered: