Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 474 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 474 Bytes

Drag Along BezierPath in Swift

Drag UIView along the UIBezierPath

This code provides the solution to drag the uiview along the UIBezierPath curve (QuadCurve). It calculates the intermediate point on the quad curve at the specific durations of the draw and centers the uiview accordingly. Code explained at https://machinethinks.com/pan-drag-uiview-on-UIBezierPath/

Drag View on UIBezierPath