Main.storyboard 19.1 KB
<?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>