Latest 1.0.0
Homepage https://github.com/Zeacone/SmoothBezier
License MPL
Platforms ios 8.0, requires ARC
Authors

SmoothBezier podlicense

SmoothBezier is a category of UIBezierPath, which can help you create smooth bezier path.

Usage

First of all, you should import header file to your source file.

#import <UIBezierPath+SmoothBezier.h>

And then follow the code below.

UIBezierPath *bezierPath = [UIBezierPath bezierPath];
// pointValues is an array that stores point.
[bezierPath smoothPath:pointValues CurveLevel:0.6];

It’s done. Now you get a smooth bezier path.

Latest podspec

{
    "name": "SmoothBezier",
    "version": "1.0.0",
    "summary": "A category of UIBezierPath which can help you create smooth bezier path.",
    "homepage": "https://github.com/Zeacone/SmoothBezier",
    "license": "MPL",
    "authors": {
        "Zeacone": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Zeacone/SmoothBezier.git",
        "tag": "1.0.0"
    },
    "source_files": "SmoothBezier/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This