Hello,
In my previous post (https://forums.macrumors.com/thread...on-click.2260680/?post=29070640#post-29070640) I resolved the peroblem of communicating through custom NSView and .xib views by creating a little Mac app to display a customizable UIBezierPath and a customizable grid.
Now I need to detect the intersections between the path and the grid lines, and place there some CGPoint.
I found some resources on the web but none of them fit my needing...
pomax.github.io
I think this is the solution but I have no much time to spend to read the all documentation...
This could help but is in javascript and I can't translate the code in objective-c
github.com
this is great but is written for an older version of Xcode and iOS and I need a OS X version of the framework for my OS X App...
Could someone help me?
In my previous post (https://forums.macrumors.com/thread...on-click.2260680/?post=29070640#post-29070640) I resolved the peroblem of communicating through custom NSView and .xib views by creating a little Mac app to display a customizable UIBezierPath and a customizable grid.
Now I need to detect the intersections between the path and the grid lines, and place there some CGPoint.
I found some resources on the web but none of them fit my needing...

A Primer on Bézier Curves
A detailed explanation of Bézier curves, and how to do the many things that we commonly want to do with them.

This could help but is in javascript and I can't translate the code in objective-c
GitHub - adamwulf/ClippingBezier: ClippingBezier calculates intersection points, paths, and shapes between two UIBezierPaths
ClippingBezier calculates intersection points, paths, and shapes between two UIBezierPaths - adamwulf/ClippingBezier
Could someone help me?