Skip to content
Drag UIView along the UIBeizurePath
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DragAlongBezierPath.xcodeproj
DragAlongBezierPath
Drag-Screenshot.png
README.md
output.gif

README.md

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

You can’t perform that action at this time.