adamwulf / ClippingBezier

ClippingBezier calculates intersection points, paths, and shapes between two UIBezierPaths
http://getlooseleaf.com/opensource/
MIT License
254 stars 34 forks source link

Compile warnings #40

Open azun-c opened 2 weeks ago

azun-c commented 2 weeks ago

I'm currently getting these warnings with ClippingBezier and PerformanceBezier when integrating via SPM

warnings

Can you please fix the warnings?

PS: I'm working on a 0-warning project. 🥹 I cannot find a way to suppress SPM's package warnings.

azun-c commented 2 weeks ago

This can suppress the warnings:

but it doesn't support versioned dependencies:

About the root cause of the warnings:

So to fix the warnings, we should either import the headers or remove them totally. It appears that removing them is not so reasonable, because they're being used internally.

@adamwulf can you help to fix the warnings? just by importing them to the module. 🙇