MettCell.xib 8.84 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"/>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="MettCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="356" height="304"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="356" height="304"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_mett_nodata" translatesAutoresizingMaskIntoConstraints="NO" id="yFt-kg-VJf">
                        <rect key="frame" x="10" y="218" width="331" height="76"/>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="梅脱" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x8x-4I-Yex">
                        <rect key="frame" x="42" y="9.5" width="32" height="23"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="16"/>
                        <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="npE-CZ-VL4">
                        <rect key="frame" x="10" y="44" width="8.5" height="35"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
                        <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="XWF-Ve-Bid">
                        <rect key="frame" x="42" y="31.5" width="13.5" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="11"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_mett" translatesAutoresizingMaskIntoConstraints="NO" id="Is6-B1-oLF">
                        <rect key="frame" x="10" y="10" width="22" height="22"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="22" id="3Rr-oc-vtj"/>
                            <constraint firstAttribute="width" constant="22" id="lek-UZ-oC8"/>
                        </constraints>
                    </imageView>
                    <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vGj-jf-VoU" customClass="BarChartView" customModule="Charts">
                        <rect key="frame" x="0.0" y="84" width="351" height="219"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    </view>
                </subviews>
            </view>
            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstItem="Is6-B1-oLF" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="2Kb-8i-hav"/>
                <constraint firstAttribute="trailing" secondItem="yFt-kg-VJf" secondAttribute="trailing" constant="15" id="3Ya-2H-SF6"/>
                <constraint firstAttribute="trailing" secondItem="vGj-jf-VoU" secondAttribute="trailing" constant="5" id="5DM-NK-qEz"/>
                <constraint firstItem="vGj-jf-VoU" firstAttribute="top" secondItem="npE-CZ-VL4" secondAttribute="bottom" constant="5" id="7mg-KJ-KPT"/>
                <constraint firstItem="npE-CZ-VL4" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="EJH-Co-Dkw"/>
                <constraint firstItem="x8x-4I-Yex" firstAttribute="leading" secondItem="Is6-B1-oLF" secondAttribute="trailing" constant="10" id="Fs0-Z3-5Kj"/>
                <constraint firstItem="XWF-Ve-Bid" firstAttribute="top" secondItem="x8x-4I-Yex" secondAttribute="bottom" constant="-1" id="GU7-t5-hfF"/>
                <constraint firstAttribute="bottom" secondItem="vGj-jf-VoU" secondAttribute="bottom" constant="1" id="NMI-wu-AmJ"/>
                <constraint firstItem="Is6-B1-oLF" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="SOk-ku-yWb"/>
                <constraint firstAttribute="bottom" secondItem="yFt-kg-VJf" secondAttribute="bottom" constant="10" id="WCW-wR-1yR"/>
                <constraint firstItem="XWF-Ve-Bid" firstAttribute="leading" secondItem="x8x-4I-Yex" secondAttribute="leading" id="asj-8T-2l2"/>
                <constraint firstItem="vGj-jf-VoU" firstAttribute="top" secondItem="npE-CZ-VL4" secondAttribute="bottom" constant="5" id="b1v-UG-03m"/>
                <constraint firstItem="yFt-kg-VJf" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="beH-HK-bfY"/>
                <constraint firstItem="vGj-jf-VoU" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="qNI-4I-c3d"/>
                <constraint firstItem="npE-CZ-VL4" firstAttribute="top" secondItem="Is6-B1-oLF" secondAttribute="bottom" constant="12" id="sgs-bU-F0s"/>
                <constraint firstItem="x8x-4I-Yex" firstAttribute="centerY" secondItem="Is6-B1-oLF" secondAttribute="centerY" id="tVO-wu-Gzn"/>
            </constraints>
            <size key="customSize" width="356" height="304"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="10"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="barChartView" destination="vGj-jf-VoU" id="zB8-tW-v1Y"/>
                <outlet property="dateLabel" destination="XWF-Ve-Bid" id="2f3-eP-BzL"/>
                <outlet property="noDataImageView" destination="yFt-kg-VJf" id="Ksj-0L-TZP"/>
                <outlet property="titleLabel" destination="x8x-4I-Yex" id="cnl-ZA-gvG"/>
                <outlet property="valueLabel" destination="npE-CZ-VL4" id="YkM-Yb-9Nc"/>
            </connections>
            <point key="canvasLocation" x="359.4202898550725" y="136.60714285714286"/>
        </collectionViewCell>
    </objects>
    <resources>
        <image name="home_mett" width="22" height="22"/>
        <image name="home_mett_nodata" width="145.5" height="76"/>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>