Main.storyboard
19.1 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
213
214
215
216
217
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13174"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController storyboardIdentifier="ViewController" id="vXZ-lx-hvc" customClass="ViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gW0-dg-TMX">
<rect key="frame" x="10" y="20" width="355" height="100"/>
<color key="backgroundColor" red="0.050306309830072005" green="0.82026833496787488" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="100" id="ZI4-PW-uqg"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="34"/>
<state key="normal" title="Event">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="handleEventButtonClick:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="hNG-qX-SI9"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bwP-V2-lOZ">
<rect key="frame" x="10" y="130" width="355" height="100"/>
<color key="backgroundColor" red="1" green="0.69311940380909554" blue="0.023097386693144983" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="100" id="NoZ-Je-4qr"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="34"/>
<state key="normal" title="Error">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="handleErrorButtonClick:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="PaQ-1X-itQ"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ewb-Ni-v83">
<rect key="frame" x="10" y="240" width="355" height="100"/>
<color key="backgroundColor" red="1" green="0.029765881059811372" blue="0.12144865843591712" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="100" id="b7r-yi-EcF"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="34"/>
<state key="normal" title="Crash">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="handleCrashButtonClick:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="Q2b-me-dmG"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Smy-DE-Wff">
<rect key="frame" x="10" y="351" width="355" height="97"/>
<color key="backgroundColor" red="0.13593778870000001" green="0.86126893940000004" blue="0.2800449378" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="97" id="KbW-bi-5og"/>
<constraint firstAttribute="height" constant="100" id="SWs-iK-Vnv"/>
<constraint firstAttribute="height" constant="97" id="YaS-EM-5j8"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="34"/>
<state key="normal" title="Performance">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<variation key="default">
<mask key="constraints">
<exclude reference="KbW-bi-5og"/>
<exclude reference="SWs-iK-Vnv"/>
<exclude reference="YaS-EM-5j8"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="constraints">
<include reference="KbW-bi-5og"/>
<exclude reference="YaS-EM-5j8"/>
</mask>
</variation>
<connections>
<action selector="performanceAction:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="gyJ-sy-Ryz"/>
</connections>
</button>
<segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="nAu-Ws-BbT">
<rect key="frame" x="45" y="594" width="284" height="29"/>
<constraints>
<constraint firstAttribute="height" constant="28" id="lfj-dM-l64"/>
</constraints>
<segments>
<segment title="启动发送"/>
<segment title="间隔时间发送"/>
<segment title="立即发送"/>
</segments>
<connections>
<action selector="handleSegmentClick:" destination="vXZ-lx-hvc" eventType="valueChanged" id="Obq-Ox-kiH"/>
</connections>
</segmentedControl>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tzq-tY-Hs1">
<rect key="frame" x="10" y="466" width="355" height="97"/>
<color key="backgroundColor" red="0.20741122748026614" green="0.3608741097134528" blue="0.86126893940000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="97" id="VVI-aM-SmW"/>
<constraint firstAttribute="height" constant="100" id="ZYu-9a-70h"/>
<constraint firstAttribute="height" constant="97" id="rgC-hq-p4T"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="34"/>
<state key="normal" title="Active">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<variation key="default">
<mask key="constraints">
<exclude reference="VVI-aM-SmW"/>
<exclude reference="ZYu-9a-70h"/>
<exclude reference="rgC-hq-p4T"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="constraints">
<include reference="VVI-aM-SmW"/>
<exclude reference="rgC-hq-p4T"/>
</mask>
</variation>
<connections>
<action selector="activeAction:" destination="x5A-6p-PRh" eventType="touchUpInside" id="Ffc-7v-NI9"/>
<action selector="performanceAction:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="IG2-Ws-Kjz"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="bwP-V2-lOZ" firstAttribute="top" secondItem="gW0-dg-TMX" secondAttribute="bottom" constant="8" id="1aJ-tt-QeY"/>
<constraint firstItem="Smy-DE-Wff" firstAttribute="top" secondItem="ewb-Ni-v83" secondAttribute="bottom" constant="11" id="3uc-kf-bEL"/>
<constraint firstItem="gW0-dg-TMX" firstAttribute="top" secondItem="jyV-Pf-zRb" secondAttribute="bottom" id="4N3-W1-Guz"/>
<constraint firstAttribute="trailing" secondItem="gW0-dg-TMX" secondAttribute="trailing" constant="10" id="9Nj-U5-cTm"/>
<constraint firstItem="ewb-Ni-v83" firstAttribute="top" secondItem="bwP-V2-lOZ" secondAttribute="bottom" constant="10" id="9f1-iX-d2x"/>
<constraint firstItem="bwP-V2-lOZ" firstAttribute="top" secondItem="gW0-dg-TMX" secondAttribute="bottom" constant="10" id="CIg-AA-tZq"/>
<constraint firstItem="Tzq-tY-Hs1" firstAttribute="trailing" secondItem="Smy-DE-Wff" secondAttribute="trailing" id="Ddt-1N-172"/>
<constraint firstItem="Smy-DE-Wff" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="G9Z-IZ-UsM"/>
<constraint firstItem="Tzq-tY-Hs1" firstAttribute="leading" secondItem="Smy-DE-Wff" secondAttribute="leading" id="M7G-iK-yPP"/>
<constraint firstAttribute="trailing" secondItem="ewb-Ni-v83" secondAttribute="trailing" constant="10" id="OJg-v6-WQP"/>
<constraint firstItem="ewb-Ni-v83" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="10" id="Pfw-gK-Ojb"/>
<constraint firstItem="ewb-Ni-v83" firstAttribute="top" secondItem="bwP-V2-lOZ" secondAttribute="bottom" constant="8" id="Rtg-70-QXv"/>
<constraint firstItem="Tzq-tY-Hs1" firstAttribute="top" secondItem="Smy-DE-Wff" secondAttribute="bottom" constant="18" id="SgS-sH-sFN"/>
<constraint firstAttribute="trailingMargin" secondItem="Smy-DE-Wff" secondAttribute="trailing" constant="-6" id="Tuk-VN-7pL"/>
<constraint firstAttribute="centerX" secondItem="nAu-Ws-BbT" secondAttribute="centerX" id="abS-HB-PCF"/>
<constraint firstItem="Smy-DE-Wff" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" constant="-6" id="c01-MH-mXG"/>
<constraint firstItem="Smy-DE-Wff" firstAttribute="top" secondItem="ewb-Ni-v83" secondAttribute="bottom" constant="11" id="eXk-n2-qoV"/>
<constraint firstItem="bwP-V2-lOZ" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="10" id="ear-Q6-Cvo"/>
<constraint firstItem="ewb-Ni-v83" firstAttribute="top" secondItem="bwP-V2-lOZ" secondAttribute="bottom" constant="10" id="en3-RB-i3r"/>
<constraint firstAttribute="trailingMargin" secondItem="Smy-DE-Wff" secondAttribute="trailing" constant="-16" id="kfh-8s-TT3"/>
<constraint firstItem="Smy-DE-Wff" firstAttribute="top" secondItem="ewb-Ni-v83" secondAttribute="bottom" constant="15" id="pmS-TD-itq"/>
<constraint firstItem="Smy-DE-Wff" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="saZ-je-WLV"/>
<constraint firstAttribute="trailingMargin" secondItem="Smy-DE-Wff" secondAttribute="trailing" constant="-6" id="soi-L7-3pD"/>
<constraint firstAttribute="trailing" secondItem="bwP-V2-lOZ" secondAttribute="trailing" constant="10" id="tK7-Cs-ypv"/>
<constraint firstItem="bwP-V2-lOZ" firstAttribute="top" secondItem="gW0-dg-TMX" secondAttribute="bottom" constant="10" id="tgA-RV-Qfw"/>
<constraint firstItem="2fi-mo-0CV" firstAttribute="top" secondItem="nAu-Ws-BbT" secondAttribute="bottom" constant="45" id="u0B-Yk-3Eh"/>
<constraint firstItem="gW0-dg-TMX" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="10" id="vdS-6K-JkS"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="1aJ-tt-QeY"/>
<exclude reference="tgA-RV-Qfw"/>
<exclude reference="9f1-iX-d2x"/>
<exclude reference="Rtg-70-QXv"/>
<exclude reference="3uc-kf-bEL"/>
<exclude reference="G9Z-IZ-UsM"/>
<exclude reference="Tuk-VN-7pL"/>
<exclude reference="c01-MH-mXG"/>
<exclude reference="eXk-n2-qoV"/>
<exclude reference="kfh-8s-TT3"/>
<exclude reference="pmS-TD-itq"/>
<exclude reference="saZ-je-WLV"/>
<exclude reference="soi-L7-3pD"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
<mask key="constraints">
<exclude reference="3uc-kf-bEL"/>
<exclude reference="G9Z-IZ-UsM"/>
<include reference="c01-MH-mXG"/>
<include reference="eXk-n2-qoV"/>
<exclude reference="kfh-8s-TT3"/>
<include reference="soi-L7-3pD"/>
</mask>
</variation>
</view>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
<connections>
<outlet property="crashButton" destination="ewb-Ni-v83" id="Rld-Lm-YHB"/>
<outlet property="errorButton" destination="bwP-V2-lOZ" id="BDP-no-pTd"/>
<outlet property="eventButton" destination="gW0-dg-TMX" id="JFV-If-QlB"/>
<outlet property="segment" destination="nAu-Ws-BbT" id="9Le-4o-fWW"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-291" y="234.75"/>
</scene>
</scenes>
</document>