Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.27 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.27 KB

Notice: No maintanence intended

This project is no longer maintained as I no longer actively develop in Swift. If anyone is interested in taking over ownership, please open an issue and I can work on transferring ownership.

SVGPath

MIT License Build Status SVGPath on CocoaPods

A Swift Library for parsing SVG path strings into UIBezierPaths

Installation

CocoaPods

pod 'SVGPath'

Example

let path = UIBezierPath(svgPath: "M85 32C115 68 239 170 281 192 311 126 274 43 244 0c97 58 146 167 121 254 28 28 40 89 29 108 -25-45-67-39-93-24C176 409 24 296 0 233c68 56 170 65 226 27C165 217 56 89 36 54c42 38 116 96 161 122C159 137 108 72 85 32z")