StringToPath

String extension for returning UIBezierPath of the string in a font of your choice, using Core Text

6
1
Ruby

StringToPath

String extension for returning UIBezierPath of the string in a font of your choice, using Core Text

Uses Obj-C pod NSString+Glyphs

Install

pod 'StringToPath'

Usage

let textPath = "some text to path".pathWithFont(UIFont.systemFontOfSize(15))