-
Notifications
You must be signed in to change notification settings - Fork 2
/
MasterViewController.xib
183 lines (183 loc) · 17.3 KB
/
MasterViewController.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="15G1108" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MasterViewController">
<connections>
<outlet property="lcdView" destination="amQ-Ru-ErW" id="N6G-ry-AET"/>
<outlet property="powerLabel" destination="2mT-6i-Jcj" id="nUX-IW-eRQ"/>
<outlet property="powerOut" destination="QSk-JC-c5H" id="Qp3-N3-sWd"/>
<outlet property="textView" destination="qpm-Pp-ogV" id="bvn-Fp-BrC"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="TopLeft" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="decoder.png" translatesAutoresizingMaskIntoConstraints="NO" id="TAw-f0-JF0">
<rect key="frame" x="28" y="20" width="320" height="350"/>
<constraints>
<constraint firstAttribute="height" constant="350" id="dyU-bm-3ib"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="amQ-Ru-ErW" userLabel="LCDView" customClass="LCDView">
<rect key="frame" x="97" y="227" width="209" height="50"/>
<subviews>
<imageView userInteractionEnabled="NO" alpha="0.77900000000000003" contentMode="TopLeft" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="off.png" translatesAutoresizingMaskIntoConstraints="NO" id="qP6-fd-KVg">
<rect key="frame" x="8" y="8" width="52" height="13"/>
<constraints>
<constraint firstAttribute="width" constant="52" id="K05-Yh-awT"/>
<constraint firstAttribute="height" constant="13" id="p9L-rx-inI"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="qP6-fd-KVg" firstAttribute="leading" secondItem="amQ-Ru-ErW" secondAttribute="leading" constant="8" id="DA0-ma-aGV"/>
<constraint firstAttribute="height" constant="50" id="NyT-yC-BW7"/>
<constraint firstItem="qP6-fd-KVg" firstAttribute="top" secondItem="amQ-Ru-ErW" secondAttribute="top" constant="8" id="b6b-Pg-S6N"/>
</constraints>
<connections>
<outlet property="la" destination="VZe-WQ-PVB" id="2hF-rK-hyt"/>
<outlet property="lb" destination="8Nj-sv-jwq" id="Fna-Xo-InP"/>
<outlet property="lc" destination="PZ1-ti-xBV" id="53T-N4-gUe"/>
<outlet property="ld" destination="vRf-zL-oGr" id="w5x-Gu-stk"/>
<outlet property="le" destination="N2c-ag-kKQ" id="R6t-wU-rq7"/>
<outlet property="lf" destination="gTq-qp-vfQ" id="RGO-Ue-pgL"/>
<outlet property="lg" destination="KGE-On-MzX" id="kms-fn-MsL"/>
<outlet property="lh" destination="YeM-0y-OK0" id="hVQ-uh-5qp"/>
<outlet property="modeDisplay" destination="qP6-fd-KVg" id="oDI-16-L5f"/>
</connections>
</view>
<toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1lL-FJ-JKo">
<rect key="frame" x="0.0" y="623" width="375" height="44"/>
<items>
<barButtonItem style="plain" systemItem="flexibleSpace" id="vmb-nu-LlZ"/>
<barButtonItem image="gear.png" id="tpi-7R-ach">
<connections>
<action selector="settingsButtonPressed" destination="-1" id="aRV-ZL-7Ih"/>
</connections>
</barButtonItem>
<barButtonItem style="plain" systemItem="flexibleSpace" id="t70-f7-QmE"/>
<barButtonItem systemItem="trash" id="D1k-em-bkA">
<connections>
<action selector="clearButtonPressed" destination="-1" id="Fhf-MB-2ev"/>
</connections>
</barButtonItem>
<barButtonItem style="plain" systemItem="flexibleSpace" id="hWz-YI-7qb"/>
</items>
</toolbar>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="QSk-JC-c5H">
<rect key="frame" x="280" y="318" width="51" height="31"/>
<color key="onTintColor" red="1" green="0.16020765579999999" blue="0.17835151069999999" alpha="1" colorSpace="calibratedRGB"/>
<connections>
<action selector="powerSwitch" destination="-1" eventType="valueChanged" id="XGy-Sv-tPK"/>
</connections>
</switch>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="OFF" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2mT-6i-Jcj">
<rect key="frame" x="280" y="357" width="49" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="49" id="MPh-Gz-HIY"/>
<constraint firstAttribute="height" constant="21" id="veZ-b0-arc"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.96075932814049603" green="1" blue="0.95695667695222209" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="qpm-Pp-ogV">
<rect key="frame" x="28" y="401" width="320" height="185"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" name="Courier" family="Courier" pointSize="14"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no"/>
</textView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Decoded" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wLn-Bf-309">
<rect key="frame" x="30" y="376" width="69.5" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.9436207400721236" green="1" blue="0.93251960771557152" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="VZe-WQ-PVB" userLabel="led1">
<rect key="frame" x="62" y="115" width="11" height="12"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="8Nj-sv-jwq" userLabel="led2">
<rect key="frame" x="95" y="115" width="11" height="12"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="PZ1-ti-xBV" userLabel="led3">
<rect key="frame" x="129" y="115" width="11" height="12"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="vRf-zL-oGr" userLabel="led4">
<rect key="frame" x="163" y="115" width="11" height="12"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="N2c-ag-kKQ" userLabel="led5">
<rect key="frame" x="198" y="115" width="11" height="12"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="gTq-qp-vfQ" userLabel="led6">
<rect key="frame" x="232" y="115" width="11" height="12"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="KGE-On-MzX" userLabel="led7">
<rect key="frame" x="267" y="115" width="11" height="12"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ledon.png" translatesAutoresizingMaskIntoConstraints="NO" id="YeM-0y-OK0" userLabel="led8">
<rect key="frame" x="302" y="115" width="11" height="12"/>
</imageView>
</subviews>
<color key="backgroundColor" red="0.25889493944187014" green="0.25749550733677895" blue="0.26029437154696133" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="YeM-0y-OK0" firstAttribute="centerY" secondItem="KGE-On-MzX" secondAttribute="centerY" id="0Ef-qA-fTg"/>
<constraint firstItem="KGE-On-MzX" firstAttribute="leading" secondItem="gTq-qp-vfQ" secondAttribute="trailing" constant="24" id="1nB-Ci-UbE"/>
<constraint firstItem="QSk-JC-c5H" firstAttribute="top" secondItem="TAw-f0-JF0" secondAttribute="bottom" constant="-52" id="4DJ-mi-9aJ"/>
<constraint firstItem="gTq-qp-vfQ" firstAttribute="leading" secondItem="N2c-ag-kKQ" secondAttribute="trailing" constant="23" id="7UZ-rJ-qo2"/>
<constraint firstItem="qpm-Pp-ogV" firstAttribute="top" secondItem="TAw-f0-JF0" secondAttribute="bottom" constant="31" id="Adb-l1-R5e"/>
<constraint firstItem="TAw-f0-JF0" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Arj-WP-Av8"/>
<constraint firstItem="wLn-Bf-309" firstAttribute="leading" secondItem="qpm-Pp-ogV" secondAttribute="leading" constant="2" id="BC0-k6-Gss"/>
<constraint firstItem="PZ1-ti-xBV" firstAttribute="leading" secondItem="8Nj-sv-jwq" secondAttribute="trailing" constant="23" id="Ehm-MQ-KVw"/>
<constraint firstItem="amQ-Ru-ErW" firstAttribute="leading" secondItem="TAw-f0-JF0" secondAttribute="leading" constant="69" id="HSM-Zw-ejJ"/>
<constraint firstItem="YeM-0y-OK0" firstAttribute="leading" secondItem="KGE-On-MzX" secondAttribute="trailing" constant="24" id="K2Y-sJ-3g1"/>
<constraint firstItem="vRf-zL-oGr" firstAttribute="leading" secondItem="PZ1-ti-xBV" secondAttribute="trailing" constant="23" id="LHS-cf-qkh"/>
<constraint firstItem="vRf-zL-oGr" firstAttribute="centerY" secondItem="PZ1-ti-xBV" secondAttribute="centerY" id="Lsr-4B-vfI"/>
<constraint firstItem="TAw-f0-JF0" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="20" id="O3m-rv-wPP"/>
<constraint firstItem="2mT-6i-Jcj" firstAttribute="top" secondItem="QSk-JC-c5H" secondAttribute="bottom" constant="8" id="Oa5-zj-bbL"/>
<constraint firstItem="KGE-On-MzX" firstAttribute="centerY" secondItem="gTq-qp-vfQ" secondAttribute="centerY" id="PgO-yA-Mnv"/>
<constraint firstItem="1lL-FJ-JKo" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" id="QjG-r4-mGw"/>
<constraint firstAttribute="trailing" secondItem="amQ-Ru-ErW" secondAttribute="trailing" constant="69" id="TUx-Fc-lFG"/>
<constraint firstItem="1lL-FJ-JKo" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="UjX-rQ-mKq"/>
<constraint firstItem="8Nj-sv-jwq" firstAttribute="leading" secondItem="VZe-WQ-PVB" secondAttribute="trailing" constant="22" id="VsE-fU-cTE"/>
<constraint firstItem="N2c-ag-kKQ" firstAttribute="leading" secondItem="vRf-zL-oGr" secondAttribute="trailing" constant="24" id="WEQ-Ph-xOt"/>
<constraint firstItem="N2c-ag-kKQ" firstAttribute="centerY" secondItem="vRf-zL-oGr" secondAttribute="centerY" id="YrI-4h-yN2"/>
<constraint firstItem="QSk-JC-c5H" firstAttribute="leading" secondItem="TAw-f0-JF0" secondAttribute="trailing" constant="-67.5" id="Z04-yK-lbo"/>
<constraint firstItem="wLn-Bf-309" firstAttribute="bottom" secondItem="qpm-Pp-ogV" secondAttribute="top" constant="-4" id="eHc-Fu-al8"/>
<constraint firstItem="8Nj-sv-jwq" firstAttribute="centerY" secondItem="VZe-WQ-PVB" secondAttribute="centerY" id="fDQ-dz-UVu"/>
<constraint firstAttribute="bottom" secondItem="1lL-FJ-JKo" secondAttribute="bottom" id="g0b-TA-C8r"/>
<constraint firstItem="2mT-6i-Jcj" firstAttribute="centerX" secondItem="QSk-JC-c5H" secondAttribute="centerX" id="gYa-6S-qdN"/>
<constraint firstItem="amQ-Ru-ErW" firstAttribute="top" secondItem="TAw-f0-JF0" secondAttribute="top" constant="207" id="ghX-Kt-Ml8"/>
<constraint firstItem="qpm-Pp-ogV" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="28" id="jp3-bf-X1E"/>
<constraint firstAttribute="trailing" secondItem="qpm-Pp-ogV" secondAttribute="trailing" constant="27" id="k8y-Fe-sVW"/>
<constraint firstItem="qpm-Pp-ogV" firstAttribute="bottom" secondItem="1lL-FJ-JKo" secondAttribute="top" constant="-37" id="p7S-0a-2sB"/>
<constraint firstItem="PZ1-ti-xBV" firstAttribute="centerY" secondItem="8Nj-sv-jwq" secondAttribute="centerY" id="pcX-yK-zMS"/>
<constraint firstItem="VZe-WQ-PVB" firstAttribute="top" secondItem="TAw-f0-JF0" secondAttribute="top" constant="95" id="t3x-AC-9EQ"/>
<constraint firstItem="gTq-qp-vfQ" firstAttribute="centerY" secondItem="N2c-ag-kKQ" secondAttribute="centerY" id="wQ0-NJ-JoL"/>
<constraint firstItem="VZe-WQ-PVB" firstAttribute="leading" secondItem="TAw-f0-JF0" secondAttribute="leading" constant="34" id="yty-RQ-Amh"/>
</constraints>
<point key="canvasLocation" x="-118.5" y="-22.5"/>
</view>
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="gray" id="TcW-1g-4hF">
<rect key="frame" x="0.0" y="0.0" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</activityIndicatorView>
</objects>
<resources>
<image name="decoder.png" width="320" height="460"/>
<image name="gear.png" width="32" height="32"/>
<image name="ledon.png" width="11" height="12"/>
<image name="off.png" width="52" height="14"/>
</resources>
</document>