Skip to content
Drag UIView along the UIBeizurePath
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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

Drag View on UIBezierPath

You can’t perform that action at this time.