-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathTouchDrawViewController.xib
111 lines (111 loc) · 8.8 KB
/
TouchDrawViewController.xib
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
111
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6206.8" systemVersion="14A389" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7026.1"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="TouchDrawViewController">
<connections>
<outlet property="drewArea" destination="F37-ic-wQn" id="02O-qa-zPL"/>
<outlet property="redoButton" destination="OTY-5t-wg4" id="C8p-7Q-13v"/>
<outlet property="selector0" destination="jwb-Aw-EhO" id="GPy-2b-B2y"/>
<outlet property="selector1" destination="86T-xq-Lzp" id="Qsa-Q4-dIB"/>
<outlet property="selector2" destination="YMg-Mn-rqc" id="R0I-rf-9wp"/>
<outlet property="selector3" destination="baH-h5-L91" id="ze1-DB-3ci"/>
<outlet property="selector4" destination="yzh-L4-vA0" id="nsh-Aa-Eah"/>
<outlet property="selector5" destination="5S9-MU-Z4x" id="siK-J0-HAL"/>
<outlet property="selector6" destination="DOK-W7-hax" id="1rt-ss-an2"/>
<outlet property="selector7" destination="Jrt-14-Yog" id="j9j-eA-7o4"/>
<outlet property="selector8" destination="Cp6-vg-iPE" id="4HB-Uz-4er"/>
<outlet property="selector9" destination="kFu-wd-yMi" id="eRw-EG-Bw6"/>
<outlet property="undoButton" destination="23i-2u-B77" id="CK7-S4-Uz9"/>
<outlet property="view" destination="Pwq-Iw-9GO" id="t72-u1-dSW"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" userLabel="first Responder" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="Pwq-Iw-9GO">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="86T-xq-Lzp" customClass="ColorPicker">
<rect key="frame" x="20" y="20" width="30" height="30"/>
<color key="backgroundColor" red="1" green="0.27283407922647851" blue="0.53699388436872719" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YMg-Mn-rqc" customClass="ColorPicker">
<rect key="frame" x="172" y="20" width="30" height="30"/>
<color key="backgroundColor" red="0.0" green="1" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="baH-h5-L91" customClass="ColorPicker">
<rect key="frame" x="248" y="20" width="30" height="30"/>
<color key="backgroundColor" red="0.5" green="0.0" blue="0.5" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yzh-L4-vA0" customClass="ColorPicker">
<rect key="frame" x="58" y="58" width="30" height="30"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5S9-MU-Z4x" customClass="ColorPicker">
<rect key="frame" x="210" y="20" width="30" height="30"/>
<color key="backgroundColor" red="0.60000002384185791" green="0.40000000596046448" blue="0.20000000298023224" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="DOK-W7-hax" customClass="ColorPicker">
<rect key="frame" x="58" y="20" width="30" height="30"/>
<color key="backgroundColor" red="1" green="0.73009176559183997" blue="0.22093174425259177" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Jrt-14-Yog" customClass="ColorPicker">
<rect key="frame" x="20" y="58" width="30" height="30"/>
<color key="backgroundColor" red="0.0" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Cp6-vg-iPE" customClass="ColorPicker">
<rect key="frame" x="96" y="20" width="30" height="30"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="kFu-wd-yMi" customClass="ColorPicker">
<rect key="frame" x="134" y="20" width="30" height="30"/>
<color key="backgroundColor" red="1" green="0.5" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="F37-ic-wQn" customClass="TouchDrawView">
<rect key="frame" x="0.0" y="88" width="320" height="480"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="23i-2u-B77">
<rect key="frame" x="215" y="63" width="25" height="20"/>
<state key="normal" backgroundImage="undo.png"/>
<connections>
<action selector="undo:" destination="-1" eventType="touchUpInside" id="q7X-yq-2Iy"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OTY-5t-wg4">
<rect key="frame" x="253" y="63" width="25" height="20"/>
<state key="normal" backgroundImage="redo.png"/>
<connections>
<action selector="redo:" destination="-1" eventType="touchUpInside" id="9QF-pE-hnw"/>
</connections>
</button>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="jwb-Aw-EhO" customClass="ColorPicker">
<rect key="frame" x="173" y="58" width="30" height="30"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="eraser.png" translatesAutoresizingMaskIntoConstraints="NO" id="2Av-gZ-jEb">
<rect key="frame" x="0.0" y="0.0" width="30" height="30"/>
</imageView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<nil key="simulatedStatusBarMetrics"/>
</view>
</objects>
<resources>
<image name="eraser.png" width="30" height="30"/>
<image name="redo.png" width="104" height="70"/>
<image name="undo.png" width="101" height="70"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4">
<size key="portraitSize" width="320" height="568"/>
<size key="landscapeSize" width="568" height="320"/>
</simulatedScreenMetrics>
</simulatedMetricsContainer>
</document>