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
- How the drawing system works in UIKit
- Performance Optimizations for drawing
This is the graph view where the drawing is done.
This view controller acts as the data source for simple stock view.
The daily trade model.
The daily trade model data.
Trivial application delegate.
Copyright (C) 2011-13 Apple Inc. All rights reserved.
© 2013 Apple Inc. All Rights Reserved. (Last updated: 2013-04-03)