SwiftPrimitiveShapes Swift UIBezierPath can be used to draw all sorts of shapes. These basic shapes methods coded in Swift are now available in a neat formatted Playground: Rectangle Ellipse Circle Triangle Hexagone Octogone