Skip to content

Instantly share code, notes, and snippets.

View UncleRic's full-sized avatar

Frederick C. Lee UncleRic

  • Amourine Technologies
  • Boulder Creek, CA
View GitHub Profile
@UncleRic
UncleRic / UIBezierPath+Arrow.swift
Last active August 8, 2017 13:55 — forked from mwermuth/UIBezier+Arrow.swift
Drawing an Arrow with Swift 3.0
import Foundation
import UIKit
extension UIBezierPath {
public static func withArrowFromPoint(startPoint:CGPoint,
endPoint:CGPoint,
tailWidth:CGFloat,
headWidth:CGFloat,
headLength:CGFloat) -> UIBezierPath {