forked from eway2012/SampleCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
48 lines (32 loc) · 1.64 KB
/
README.txt
File metadata and controls
48 lines (32 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
SimpleStocks
===========================================================================
ABSTRACT
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.
===========================================================================
DISCUSSION
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
===========================================================================
SYSTEM REQUIREMENTS
Xcode 4.0 or later, Mac OS X 10.6.7 or later, iOS 4.2
===========================================================================
PACKAGING LIST
SimpleStocksAppDelegate
This is the App Delegate that sets up the initial view controller.
SimpleStockViewController
This view controller handles orientation changes and acts as the data source for SimpleStockView.
SimpleStockView
This is the graph view where the drawing is done.
DailyTradeInfo
The daily trade model.
DailyTradeInfoSource
The daily trade model data.
===========================================================================
CHANGES FROM PREVIOUS VERSIONS
1.0 - Initial version.
===========================================================================
Copyright (C) 2011 Apple Inc. All rights reserved.