AppVersionView.xib 16.7 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
    <device id="retina6_1" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19454"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <capability name="System colors in document resources" minToolsVersion="11.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="AppVersionView" customModule="Twear" customModuleProvider="target">
            <connections>
                <outlet property="backView" destination="Z2i-Rm-aTY" id="Wek-YK-yvk"/>
                <outlet property="detailLabel" destination="98r-xD-zQn" id="mSi-nd-Qsw"/>
                <outlet property="sizeLabel" destination="BfL-pS-gls" id="BoU-Xg-wLT"/>
                <outlet property="versionLabel" destination="NSZ-sD-6HX" id="Hnc-yq-avR"/>
            </connections>
        </placeholder>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <view contentMode="scaleToFill" id="iN0-l3-epB">
            <rect key="frame" x="0.0" y="0.0" width="337" height="437"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Z2i-Rm-aTY">
                    <rect key="frame" x="12.5" y="260" width="312" height="168.5"/>
                    <subviews>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发现新版本" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e1f-5r-YS8">
                            <rect key="frame" x="18.5" y="16.5" width="75" height="21"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                            <nil key="textColor"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="版本" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gb3-6B-RNv">
                            <rect key="frame" x="18.5" y="41.5" width="26" height="18"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                            <color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TjZ-ed-f6m">
                            <rect key="frame" x="18.5" y="58.5" width="0.0" height="0.0"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                            <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="sRGB"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="详情" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="04Z-HM-tcH">
                            <rect key="frame" x="18.5" y="62.5" width="30" height="21"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                            <nil key="textColor"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发现新版本" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NSZ-sD-6HX">
                            <rect key="frame" x="49.5" y="41" width="65" height="19"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                            <nil key="textColor"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BfL-pS-gls">
                            <rect key="frame" x="23.5" y="58.5" width="0.0" height="0.0"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                            <nil key="textColor"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="98r-xD-zQn">
                            <rect key="frame" x="18.5" y="85.5" width="273.5" height="18.5"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                            <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tpn-fc-JxQ">
                            <rect key="frame" x="0.0" y="124" width="312" height="0.5"/>
                            <color key="backgroundColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                            <constraints>
                                <constraint firstAttribute="height" constant="0.5" id="VFf-gU-BHO"/>
                            </constraints>
                        </view>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="34E-0W-s28">
                            <rect key="frame" x="156" y="124.5" width="0.5" height="44"/>
                            <color key="backgroundColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                            <constraints>
                                <constraint firstAttribute="width" constant="0.5" id="KJj-GO-4wi"/>
                            </constraints>
                        </view>
                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hQc-48-s2D">
                            <rect key="frame" x="0.0" y="124.5" width="156" height="44"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                            <state key="normal" title="以后再说">
                                <color key="titleColor" red="0.99607843137254903" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                            </state>
                            <connections>
                                <action selector="clickBtnAction:" destination="-1" eventType="touchUpInside" id="Cky-uf-Gng"/>
                            </connections>
                        </button>
                        <button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oRo-XO-ynP">
                            <rect key="frame" x="156.5" y="124.5" width="155.5" height="44"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                            <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                            <state key="normal" title="立即更新">
                                <color key="titleColor" red="0.0" green="0.59999999999999998" blue="0.24313725490196078" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                            </state>
                            <connections>
                                <action selector="clickBtnAction:" destination="-1" eventType="touchUpInside" id="I3c-AI-hDM"/>
                            </connections>
                        </button>
                    </subviews>
                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    <constraints>
                        <constraint firstItem="04Z-HM-tcH" firstAttribute="leading" secondItem="e1f-5r-YS8" secondAttribute="leading" id="10U-Gk-4P9"/>
                        <constraint firstItem="oRo-XO-ynP" firstAttribute="top" secondItem="tpn-fc-JxQ" secondAttribute="bottom" id="2uT-l8-Sc7"/>
                        <constraint firstItem="e1f-5r-YS8" firstAttribute="top" secondItem="Z2i-Rm-aTY" secondAttribute="top" constant="16.5" id="4jg-i2-82S"/>
                        <constraint firstItem="Gb3-6B-RNv" firstAttribute="leading" secondItem="e1f-5r-YS8" secondAttribute="leading" id="5jr-4D-cA7"/>
                        <constraint firstAttribute="trailing" secondItem="98r-xD-zQn" secondAttribute="trailing" constant="20" id="8VU-4a-rQT"/>
                        <constraint firstAttribute="trailing" secondItem="oRo-XO-ynP" secondAttribute="trailing" id="9iv-a0-gmd"/>
                        <constraint firstItem="34E-0W-s28" firstAttribute="top" secondItem="tpn-fc-JxQ" secondAttribute="bottom" id="Aa3-fl-Cer"/>
                        <constraint firstAttribute="trailing" secondItem="tpn-fc-JxQ" secondAttribute="trailing" id="Idl-co-lcJ"/>
                        <constraint firstItem="Gb3-6B-RNv" firstAttribute="top" secondItem="e1f-5r-YS8" secondAttribute="bottom" constant="4" id="J29-jg-sSc"/>
                        <constraint firstItem="98r-xD-zQn" firstAttribute="top" secondItem="04Z-HM-tcH" secondAttribute="bottom" constant="2" id="M7E-IQ-AKd"/>
                        <constraint firstItem="04Z-HM-tcH" firstAttribute="top" secondItem="TjZ-ed-f6m" secondAttribute="bottom" constant="4" id="Ne4-nF-Uyi"/>
                        <constraint firstItem="NSZ-sD-6HX" firstAttribute="centerY" secondItem="Gb3-6B-RNv" secondAttribute="centerY" id="RKZ-pa-HRS"/>
                        <constraint firstItem="BfL-pS-gls" firstAttribute="centerY" secondItem="TjZ-ed-f6m" secondAttribute="centerY" id="YGc-L4-glm"/>
                        <constraint firstItem="tpn-fc-JxQ" firstAttribute="top" secondItem="98r-xD-zQn" secondAttribute="bottom" constant="20" id="avJ-eb-EHx"/>
                        <constraint firstItem="hQc-48-s2D" firstAttribute="leading" secondItem="Z2i-Rm-aTY" secondAttribute="leading" id="cwj-jQ-u7n"/>
                        <constraint firstItem="34E-0W-s28" firstAttribute="centerX" secondItem="Z2i-Rm-aTY" secondAttribute="centerX" id="d2B-zZ-IbM"/>
                        <constraint firstItem="98r-xD-zQn" firstAttribute="leading" secondItem="04Z-HM-tcH" secondAttribute="leading" id="d4J-hF-9iy"/>
                        <constraint firstAttribute="bottom" secondItem="tpn-fc-JxQ" secondAttribute="bottom" constant="44" id="eQa-sb-led"/>
                        <constraint firstItem="hQc-48-s2D" firstAttribute="top" secondItem="tpn-fc-JxQ" secondAttribute="bottom" id="ehv-G9-Rdv"/>
                        <constraint firstItem="34E-0W-s28" firstAttribute="leading" secondItem="hQc-48-s2D" secondAttribute="trailing" id="fwM-On-jHL"/>
                        <constraint firstItem="TjZ-ed-f6m" firstAttribute="leading" secondItem="Gb3-6B-RNv" secondAttribute="leading" id="gdJ-jR-4Xq"/>
                        <constraint firstItem="oRo-XO-ynP" firstAttribute="leading" secondItem="34E-0W-s28" secondAttribute="trailing" id="hWI-iF-4BU"/>
                        <constraint firstItem="BfL-pS-gls" firstAttribute="leading" secondItem="TjZ-ed-f6m" secondAttribute="trailing" constant="5" id="j7h-A8-XJJ"/>
                        <constraint firstItem="TjZ-ed-f6m" firstAttribute="top" secondItem="Gb3-6B-RNv" secondAttribute="bottom" constant="-1" id="k46-YU-cZS"/>
                        <constraint firstItem="e1f-5r-YS8" firstAttribute="leading" secondItem="Z2i-Rm-aTY" secondAttribute="leading" constant="18.5" id="oL3-FS-dzq"/>
                        <constraint firstAttribute="bottom" secondItem="34E-0W-s28" secondAttribute="bottom" id="sah-eg-mJu"/>
                        <constraint firstItem="tpn-fc-JxQ" firstAttribute="leading" secondItem="Z2i-Rm-aTY" secondAttribute="leading" id="uv2-SC-E8t"/>
                        <constraint firstItem="NSZ-sD-6HX" firstAttribute="leading" secondItem="Gb3-6B-RNv" secondAttribute="trailing" constant="5" id="vcu-dc-dp3"/>
                        <constraint firstAttribute="bottom" secondItem="hQc-48-s2D" secondAttribute="bottom" id="zbx-E2-kl8"/>
                        <constraint firstAttribute="bottom" secondItem="oRo-XO-ynP" secondAttribute="bottom" id="zsO-0H-luG"/>
                    </constraints>
                    <userDefinedRuntimeAttributes>
                        <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                            <integer key="value" value="10"/>
                        </userDefinedRuntimeAttribute>
                    </userDefinedRuntimeAttributes>
                </view>
            </subviews>
            <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
            <color key="backgroundColor" white="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstItem="Z2i-Rm-aTY" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="12.5" id="H5B-cw-Kip"/>
                <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="Z2i-Rm-aTY" secondAttribute="bottom" constant="8.5" id="O6m-jo-bD5"/>
                <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="Z2i-Rm-aTY" secondAttribute="trailing" constant="12.5" id="g5A-5Z-rNe"/>
            </constraints>
            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
            <point key="canvasLocation" x="81.884057971014499" y="-100.11160714285714"/>
        </view>
    </objects>
    <resources>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>