-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.storyboard
More file actions
212 lines (212 loc) · 16.9 KB
/
Copy pathMain.storyboard
File metadata and controls
212 lines (212 loc) · 16.9 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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="o1Q-Yw-77n">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Main View Controller-->
<scene sceneID="HET-EI-Kd1">
<objects>
<viewController id="o1Q-Yw-77n" customClass="MainViewController" customModule="TicketVal" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="UbO-Hv-6Lc"/>
<viewControllerLayoutGuide type="bottom" id="YjC-0X-ROb"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="fTS-oK-Z8e">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="Welcome to TicketVal!" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="TV0-eQ-Mh6">
<rect key="frame" x="67" y="28" width="240" height="34"/>
<constraints>
<constraint firstAttribute="height" constant="34" id="VfU-EM-VKp"/>
</constraints>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
<button opaque="NO" alpha="0.80000000000000004" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fWw-Jc-8kG">
<rect key="frame" x="131" y="353" width="112" height="83"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="83" id="wtK-2i-3fs"/>
</constraints>
<state key="normal" title="Edit"/>
<connections>
<segue destination="n8s-Sh-1h2" kind="show" id="uXS-0r-ZBO"/>
</connections>
</button>
<button opaque="NO" alpha="0.80000000000000004" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4XD-NN-kie">
<rect key="frame" x="131" y="208" width="112" height="83"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="83" id="BSt-6l-YaI"/>
<constraint firstAttribute="width" constant="112" id="nc8-Jy-OZr"/>
</constraints>
<state key="normal" title="Scan"/>
<connections>
<segue destination="sB3-Uq-Oci" kind="show" id="i89-vs-3KF"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="fWw-Jc-8kG" firstAttribute="top" secondItem="4XD-NN-kie" secondAttribute="bottom" constant="62" id="8i1-8a-idT"/>
<constraint firstItem="TV0-eQ-Mh6" firstAttribute="centerX" secondItem="fTS-oK-Z8e" secondAttribute="centerX" id="CLz-Lk-m7Q"/>
<constraint firstItem="4XD-NN-kie" firstAttribute="trailing" secondItem="fWw-Jc-8kG" secondAttribute="trailing" id="CTY-Yu-xU5"/>
<constraint firstItem="TV0-eQ-Mh6" firstAttribute="top" secondItem="UbO-Hv-6Lc" secondAttribute="bottom" constant="8" symbolic="YES" id="EDU-QP-ois"/>
<constraint firstItem="4XD-NN-kie" firstAttribute="leading" secondItem="fWw-Jc-8kG" secondAttribute="leading" id="HYe-Zk-ZJt"/>
<constraint firstItem="TV0-eQ-Mh6" firstAttribute="centerX" secondItem="4XD-NN-kie" secondAttribute="centerX" id="HcN-vu-Nzb"/>
<constraint firstItem="TV0-eQ-Mh6" firstAttribute="leading" secondItem="fTS-oK-Z8e" secondAttribute="leadingMargin" constant="51" id="NyK-kG-RiQ"/>
<constraint firstItem="YjC-0X-ROb" firstAttribute="top" secondItem="fWw-Jc-8kG" secondAttribute="bottom" constant="231" id="bcp-xX-BYV"/>
</constraints>
</view>
<connections>
<outlet property="database" destination="fWw-Jc-8kG" id="xuH-Jf-Rbo"/>
<outlet property="scan" destination="4XD-NN-kie" id="jPX-3i-rl3"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="kWz-hq-354" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1412" y="546.47676161919048"/>
</scene>
<!--View Controller-->
<scene sceneID="Geq-jN-b1i">
<objects>
<viewController id="n8s-Sh-1h2" customClass="DBViewController" customModule="TicketVal" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="gUH-Wj-zj8"/>
<viewControllerLayoutGuide type="bottom" id="hrY-er-qxE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="dMM-LE-KCn">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<navigationBar contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="G41-aH-W2x">
<rect key="frame" x="0.0" y="28" width="375" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<items>
<navigationItem title="Title" id="XeI-Bx-DF8">
<barButtonItem key="leftBarButtonItem" systemItem="stop" id="xQ6-bE-3r8">
<connections>
<segue destination="o1Q-Yw-77n" kind="show" id="nKb-3G-NHU"/>
</connections>
</barButtonItem>
</navigationItem>
</items>
</navigationBar>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CgQ-EO-Gyj">
<rect key="frame" x="138" y="140" width="99" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="Import Tickets"/>
<connections>
<action selector="importTickets:" destination="n8s-Sh-1h2" eventType="touchUpInside" id="fVC-l9-0Ss"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XhD-7C-bF4">
<rect key="frame" x="127" y="205" width="121" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="Datenbank leeren"/>
<connections>
<action selector="truncate:" destination="n8s-Sh-1h2" eventType="touchUpInside" id="cQF-8f-xNH"/>
</connections>
</button>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" fixedFrame="YES" text="In der Datenbank sind 0 Elemente" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="anD-w2-OUp">
<rect key="frame" x="67" y="317" width="240" height="69"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
<toolbarItems/>
<nil key="simulatedBottomBarMetrics"/>
<connections>
<outlet property="count" destination="anD-w2-OUp" id="oGq-pu-NjD"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="BWZ-ml-aJM" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2461.5999999999999" y="755.17241379310349"/>
</scene>
<!--MainView-->
<scene sceneID="16H-tZ-eXX">
<objects>
<viewController title="MainView" id="sB3-Uq-Oci" customClass="ScanViewController" customModule="TicketVal" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="g2p-bR-XlG"/>
<viewControllerLayoutGuide type="bottom" id="G9H-gU-G18"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="aNA-gC-d9F">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<navigationBar contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nbb-W6-A3Z">
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
<items>
<navigationItem title="Bitte QR-Code zentrieren" id="cWF-JF-2B9">
<barButtonItem key="leftBarButtonItem" systemItem="stop" id="cQs-6C-rwT">
<connections>
<segue destination="o1Q-Yw-77n" kind="show" id="bMH-hD-Pfe"/>
</connections>
</barButtonItem>
<barButtonItem key="rightBarButtonItem" title="LICHT" id="yGE-di-cUD">
<connections>
<action selector="light:" destination="sB3-Uq-Oci" id="NWl-xS-Yop"/>
</connections>
</barButtonItem>
</navigationItem>
</items>
</navigationBar>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="No QR Code is detected" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wq2-Lp-9p9">
<rect key="frame" x="0.0" y="504" width="375" height="163"/>
<color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="163" id="oho-dx-cbK"/>
</constraints>
<fontDescription key="fontDescription" name="HelveticaNeue-Light" family="Helvetica Neue" pointSize="15"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Nbb-W6-A3Z" firstAttribute="leading" secondItem="Wq2-Lp-9p9" secondAttribute="leading" id="MkI-H0-0i8"/>
<constraint firstItem="Nbb-W6-A3Z" firstAttribute="leading" secondItem="aNA-gC-d9F" secondAttribute="leading" id="TXO-QD-bqN"/>
<constraint firstItem="Wq2-Lp-9p9" firstAttribute="bottom" secondItem="G9H-gU-G18" secondAttribute="top" id="lkW-9a-7XF"/>
<constraint firstAttribute="trailing" secondItem="Nbb-W6-A3Z" secondAttribute="trailing" id="nXq-58-8xV"/>
<constraint firstItem="Nbb-W6-A3Z" firstAttribute="top" secondItem="g2p-bR-XlG" secondAttribute="bottom" id="oqk-f6-p2m"/>
<constraint firstItem="Nbb-W6-A3Z" firstAttribute="trailing" secondItem="Wq2-Lp-9p9" secondAttribute="trailing" id="uug-HF-JJI"/>
</constraints>
<variation key="default">
<mask key="subviews">
<exclude reference="Wq2-Lp-9p9"/>
</mask>
</variation>
<variation key="widthClass=compact">
<mask key="subviews">
<include reference="Wq2-Lp-9p9"/>
</mask>
</variation>
</view>
<connections>
<outlet property="messageLabel" destination="Wq2-Lp-9p9" id="GEQ-Ni-prT"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="mp9-Io-rsC" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2461.5999999999999" y="-206.44677661169416"/>
</scene>
</scenes>
<inferredMetricsTieBreakers>
<segue reference="bMH-hD-Pfe"/>
</inferredMetricsTieBreakers>
</document>