Apple IOS Objective C Bezier Path demo
This Objective C demo shows how to use Bezier paths to create a few geometric shapes.
Here are the highlights of this demo:
- Uses a UIPickerView to control which shape to draw
- Uses CAShapeLayer to display each shape
- Fills each shape with a color and outlines it with a small black border
- Displays a CATextLayer in the center with the name of the selected shape
- Uses a CAShapeLayer of a white rounded rectangle as the background for the text
- Uses 10 lines to outline double ended arrows