/
TestViewController.xib
178 lines (178 loc) · 15.3 KB
/
TestViewController.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
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12120" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina5_5" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="TestViewController">
<connections>
<outlet property="buttonVideoRecord" destination="ZJw-aD-CNi" id="Swe-3f-Sef"/>
<outlet property="collectionView" destination="d9U-sS-s1M" id="AaR-qQ-kbi"/>
<outlet property="glkView" destination="W5N-aK-5Na" id="x8D-Ni-hpf"/>
<outlet property="imageView" destination="co9-7z-NEC" id="bbc-aT-aCm"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
<outlet property="viewContainerForViewSelection" destination="NXc-hM-KCZ" id="sQo-NZ-gGB"/>
<outlet property="viewSelection" destination="NBe-yq-ktI" id="vVJ-eV-Hj8"/>
</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="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="co9-7z-NEC">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
</imageView>
<glkView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" enableSetNeedsDisplay="NO" translatesAutoresizingMaskIntoConstraints="NO" id="W5N-aK-5Na">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
</glkView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Mfk-El-8cs">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SwitchCamera.png" translatesAutoresizingMaskIntoConstraints="NO" id="sSw-uY-QEW">
<rect key="frame" x="382" y="10" width="22" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="22" id="fFX-DM-Ob0"/>
<constraint firstAttribute="height" constant="22" id="gZv-fb-3Am"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="IiI-bM-cU5" userLabel="SwitchCamera">
<rect key="frame" x="370" y="0.0" width="44" height="44"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="DSH-qz-L79"/>
<constraint firstAttribute="width" constant="44" id="Kyc-s9-Sxv"/>
</constraints>
<connections>
<action selector="buttonSwitchCamera:" destination="-1" eventType="touchUpInside" id="iNk-Gh-5lF"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="AQr-xf-Ij0">
<rect key="frame" x="30" y="676" width="30" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="AqY-as-hbJ"/>
<constraint firstAttribute="width" constant="30" id="hgc-1R-bRA"/>
</constraints>
<state key="normal" image="movie.png"/>
<connections>
<action selector="buttonVideoTapped:" destination="-1" eventType="touchUpInside" id="02t-c0-tbU"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="39o-Ts-v03" userLabel="Selection">
<rect key="frame" x="133" y="642" width="44" height="44"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="KqG-OL-9Qb"/>
<constraint firstAttribute="width" constant="44" id="tYS-XL-5jn"/>
</constraints>
<state key="normal" image="redCircle.png"/>
<connections>
<action selector="buttonToggleViewSelect:" destination="-1" eventType="touchUpInside" id="xsi-BJ-iaY"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZJw-aD-CNi">
<rect key="frame" x="185" y="662" width="44" height="44"/>
<color key="backgroundColor" red="0.0" green="0.0" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="width" constant="44" id="1bs-g2-BcT"/>
<constraint firstAttribute="height" constant="44" id="csH-ob-uTx"/>
</constraints>
<state key="normal">
<color key="titleColor" red="0.36979609187211848" green="0.69309806808177798" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="buttonVideoRecordTapped:" destination="-1" eventType="touchUpInside" id="Ffb-MR-HL2"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="ZJw-aD-CNi" firstAttribute="centerX" secondItem="Mfk-El-8cs" secondAttribute="centerX" id="7Lk-Zc-h9r"/>
<constraint firstItem="ZJw-aD-CNi" firstAttribute="leading" secondItem="39o-Ts-v03" secondAttribute="trailing" constant="8" id="9p0-hI-6ba"/>
<constraint firstItem="IiI-bM-cU5" firstAttribute="top" secondItem="Mfk-El-8cs" secondAttribute="top" id="GML-AF-1UD"/>
<constraint firstItem="AQr-xf-Ij0" firstAttribute="leading" secondItem="Mfk-El-8cs" secondAttribute="leading" constant="30" id="Qie-Tt-87P"/>
<constraint firstAttribute="trailing" secondItem="sSw-uY-QEW" secondAttribute="trailing" constant="10" id="Z5M-sQ-GFv"/>
<constraint firstAttribute="bottom" secondItem="ZJw-aD-CNi" secondAttribute="bottom" constant="30" id="a55-7G-4rz"/>
<constraint firstItem="sSw-uY-QEW" firstAttribute="top" secondItem="Mfk-El-8cs" secondAttribute="top" constant="10" id="e2f-fv-vxT"/>
<constraint firstAttribute="trailing" secondItem="IiI-bM-cU5" secondAttribute="trailing" id="mrc-QR-oNw"/>
<constraint firstAttribute="bottom" secondItem="39o-Ts-v03" secondAttribute="bottom" constant="50" id="wxj-xw-IRg"/>
<constraint firstAttribute="bottom" secondItem="AQr-xf-Ij0" secondAttribute="bottom" constant="30" id="zS9-f2-B47"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Mfk-El-8cs" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="0Fk-Eg-jRg"/>
<constraint firstItem="Mfk-El-8cs" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="9d2-S6-Yun"/>
<constraint firstAttribute="bottom" secondItem="co9-7z-NEC" secondAttribute="bottom" id="JXc-sB-xNg"/>
<constraint firstAttribute="bottom" secondItem="Mfk-El-8cs" secondAttribute="bottom" id="Jar-AG-mvC"/>
<constraint firstItem="W5N-aK-5Na" firstAttribute="leading" secondItem="co9-7z-NEC" secondAttribute="leading" id="Jbc-E8-kWe"/>
<constraint firstItem="W5N-aK-5Na" firstAttribute="bottom" secondItem="co9-7z-NEC" secondAttribute="bottom" id="JdH-Jv-CCh"/>
<constraint firstAttribute="trailing" secondItem="co9-7z-NEC" secondAttribute="trailing" id="Xck-ua-tjN"/>
<constraint firstItem="W5N-aK-5Na" firstAttribute="top" secondItem="co9-7z-NEC" secondAttribute="top" id="btf-LG-fZe"/>
<constraint firstItem="co9-7z-NEC" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="eTw-dg-zIW"/>
<constraint firstItem="co9-7z-NEC" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="iJx-mb-w93"/>
<constraint firstAttribute="trailing" secondItem="Mfk-El-8cs" secondAttribute="trailing" id="jqB-PN-efu"/>
<constraint firstItem="W5N-aK-5Na" firstAttribute="trailing" secondItem="co9-7z-NEC" secondAttribute="trailing" id="xp5-0P-thl"/>
</constraints>
<nil key="simulatedStatusBarMetrics"/>
<point key="canvasLocation" x="34" y="53"/>
</view>
<view contentMode="scaleToFill" id="NXc-hM-KCZ">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dHn-zR-1lp">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<connections>
<action selector="buttonFoldViewSelectionTapped:" destination="-1" eventType="touchUpInside" id="abg-wL-VnI"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NBe-yq-ktI">
<rect key="frame" x="0.0" y="486" width="414" height="250"/>
<subviews>
<collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="d9U-sS-s1M">
<rect key="frame" x="0.0" y="0.0" width="414" height="250"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="a6v-9o-D8q">
<size key="itemSize" width="50" height="50"/>
<size key="headerReferenceSize" width="0.0" height="0.0"/>
<size key="footerReferenceSize" width="0.0" height="0.0"/>
<inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
</collectionViewFlowLayout>
</collectionView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="d9U-sS-s1M" firstAttribute="top" secondItem="NBe-yq-ktI" secondAttribute="top" id="9Bo-PU-m9A"/>
<constraint firstAttribute="trailing" secondItem="d9U-sS-s1M" secondAttribute="trailing" id="NLg-SN-gcA"/>
<constraint firstItem="d9U-sS-s1M" firstAttribute="leading" secondItem="NBe-yq-ktI" secondAttribute="leading" id="VGg-2C-qbW"/>
<constraint firstAttribute="height" constant="250" id="qxD-wx-HVe"/>
<constraint firstAttribute="bottom" secondItem="d9U-sS-s1M" secondAttribute="bottom" id="xFA-94-aup"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="NBe-yq-ktI" secondAttribute="bottom" id="CSX-z5-DZo"/>
<constraint firstItem="dHn-zR-1lp" firstAttribute="top" secondItem="NXc-hM-KCZ" secondAttribute="top" id="DN8-1Q-GUs"/>
<constraint firstItem="dHn-zR-1lp" firstAttribute="leading" secondItem="NXc-hM-KCZ" secondAttribute="leading" id="Hsp-8i-r7n"/>
<constraint firstAttribute="trailing" secondItem="dHn-zR-1lp" secondAttribute="trailing" id="QIZ-JX-zCG"/>
<constraint firstAttribute="bottom" secondItem="dHn-zR-1lp" secondAttribute="bottom" id="RhU-Qs-Rwa"/>
<constraint firstAttribute="trailing" secondItem="NBe-yq-ktI" secondAttribute="trailing" id="bCW-hn-TPf"/>
<constraint firstItem="NBe-yq-ktI" firstAttribute="leading" secondItem="NXc-hM-KCZ" secondAttribute="leading" id="yRp-Ec-tP3"/>
</constraints>
<point key="canvasLocation" x="506" y="48"/>
</view>
</objects>
<resources>
<image name="SwitchCamera.png" width="50" height="50"/>
<image name="movie.png" width="128" height="128"/>
<image name="redCircle.png" width="22" height="22"/>
</resources>
</document>