Last Revision:
Version 2.0, 2013-04-03
Updated for storyboards and ARC.
(Full Revision History)
Build Requirements:
Xcode 4.6 or later, iOS SDK 6.0 or later.
Runtime Requirements:
iOS SDK 6.0 or later.

The SimpleStocks sample application demonstrates how to use UIKit classes and the Core Graphics framework to draw content for iOS. From this example you will learn about UIKit's UIBezierPath class. In the sample path objects are used to both draw content and clip content. In addition you will see examples of using patterns to fill paths as well as using a path to clip images.

This example shows how to use various drawing API's in UIKit. - UIBezierPath for building simple and complex paths - UIBezierPath for clipping - Gradients - How the drawing system works in UIKit - Performance Optimizations for drawing