Skip to content

cemolcay/BezierCurveEditor

Repository files navigation

BezierCurveEditor

A quick and easy UIBezierPath path editor view.

Demo

alt tag

Install

Add this repo to your swift package manager.

https://github.com/cemolcay/BezierCurveEditor.gif

Usage

Create a BezierCurveView instance with a BezierCurveData.

let curveView = BezierCurveView(curve: .init())
view.addSubview(curveView)

BezierCurveData points are normalised between 0 - 1.
0 is the begining of the BezierCurveView's frame,
1 is the end of the BezierCurveView's frame.

About

UIBezierPath editor view for iOS.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages