Skip to content

Instantly share code, notes, and snippets.

@alsedi
Created September 1, 2016 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alsedi/7d6cdbbe3cafa2122af4e0463133a6e2 to your computer and use it in GitHub Desktop.
Save alsedi/7d6cdbbe3cafa2122af4e0463133a6e2 to your computer and use it in GitHub Desktop.
private var circlePath: CGPath {
let circle = UIBezierPath(ovalIn: CGRect(origin: CGPoint.zero, size: frame.size))
circle.close()
// 1
  return circle.cgPath
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment