I hereby claim:
- I am webfrogs on github.
- I am nswebfrog (https://keybase.io/nswebfrog) on keybase.
- I have a public key ASC0IR-1W_VJwxy7D1vzx0FUYLGzHKZKQSoB7BRKcRHFqgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
xcodebuild -workspace XXX.xcworkspace -scheme XXX clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep '^\d\{3,\}[.]\{1\}' |
let letters = CGPathCreateMutable() | |
let font = CTFontCreateWithName("Helvetica-Bold", 72, nil) | |
let attrs: [String: AnyObject] = [kCTFontAttributeName: font] | |
let attrString = NSAttributedString(string: "~", attributes: attrs) | |
let line = CTLineCreateWithAttributedString(attrString) | |
let runArray = CTLineGetGlyphRuns(line) |
func p_setupTextLayer(text: String) -> CAShapeLayer { | |
var letters = CGPathCreateMutable() | |
let font = CTFontCreateWithName("Helvetica-Bold", 72, nil) | |
let attrs = [kCTFontAttributeName: font] | |
var attrString = NSAttributedString(string: text, attributes: attrs) | |
let line = CTLineCreateWithAttributedString(attrString) | |
let runArray = CTLineGetGlyphRuns(line) | |