forked from gavinkwoe/SampleCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReadMe.txt
More file actions
110 lines (63 loc) · 2.71 KB
/
ReadMe.txt
File metadata and controls
110 lines (63 loc) · 2.71 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
### ScrollViewSuite ###
===========================================================================
DESCRIPTION:
A series of examples that illustrate how to use UIScrollView.
1_TapToZoom demonstrates:
* Fitting the image to the screen on launch
* Detecting single, double, and two-finger taps using UIGestureRecognizer
* Zooming in response to taps
2_Autoscroll adds a thumbnail scroll view, and demonstrates:
* Use of the canCancelContentTouches property to track moving touches in a subview of a scroll view
* How to implement autoscrolling in response to a subview being dragged
3_Tiling demonstrates:
* How to subclass UIScrollView to add content tiling
* Reusing tiles to optimize performance and memory use
* Changing the resolution of the content in response to zooming
===========================================================================
BUILD REQUIREMENTS:
Xcode 3.2 or later, Mac OS X v10.6 or later, iOS v4.1.
===========================================================================
RUNTIME REQUIREMENTS:
iOS v4.0.
===========================================================================
PACKAGING LIST:
1_TapToZoom
-----------
AppDelegate.{h,m}
Application delegate to configure the application window.
RootViewController.{h,m}
View controller to manage a scrollview that displays a zoomable image.
2_Autoscroll
------------
AppDelegate.{h,m}
Application delegate to configure the application window.
RootViewController.{h,m}
View controller to manage a scrollview that displays a zoomable image and a collection of thumbnail images.
TapDetectingImageView.{h,m}
UIImageView subclass that responds to taps and notifies its delegate.
ThumbImageView.{h,m}
UIImageView subclass to display a thumbnail image; notifies a delegate of various interactions.
3_Tiling
--------
AppDelegate.{h,m}
Application delegate to configure the application window.
RootViewController.{h,m}
View controller to manage a scrollview that displays a zoomable image and a collection of thumbnail images.
TapDetectingView.{h,m}
UIView subclass that responds to taps and notifies its delegate.
ThumbImageView.{h,m}
UIImageView subclass to display a thumbnail image; notifies a delegate of various interactions.
TiledScrollView.{h,m}
UIScrollView subclass to manage tiled content.
===========================================================================
CHANGES FROM PREVIOUS VERSIONS:
Version 1.3
- Removed TapDetectingImageView since it is no longer used.
Version 1.2
- Updated 1_TapToZoom to use Interface Builder for building the UI objects.
Version 1.1
- Updated artwork.
Version 1.0
- First version.
===========================================================================
Copyright (C) 2010 Apple Inc. All rights reserved.