Skip to content

Instantly share code, notes, and snippets.

@alsedi
Last active September 1, 2016 08:24
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/22dc61f7ca733dd5e7ee450856952a35 to your computer and use it in GitHub Desktop.
Save alsedi/22dc61f7ca733dd5e7ee450856952a35 to your computer and use it in GitHub Desktop.
for i in 0..<shapesCount {
let shape = MutableShapeLayer()
shape.setup(size: minimalSize + (step * CGFloat(i)), center: center, thickness: shapeWidth)
shapes.append(shape)
layer.addSublayer(shape)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment