AuthorTravis Kirton
Tags views, subviews
Seriously. You can add any view to any other view. And, by doing so the subview will inherit or be affected by the basic properties of its superview (like opacity, position, rotation, etc.)
view.add(shape)
let circle = Circle(center: canvas.center, radius: 150) canvas.add(circle) let C4 = TextShape(text: "C4")! C4.center = circle.bounds.center circle.add(C4)