BloodPressureCell.xib 10.3 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" 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="21678"/>
        <capability name="Safe area layout guides" minToolsVersion="9.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="BloodPressureCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="237" height="180"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="237" height="180"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_bp" translatesAutoresizingMaskIntoConstraints="NO" id="C5V-oE-wcR">
                        <rect key="frame" x="10" y="10" width="22" height="22"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="22" id="ORC-XQ-jRe"/>
                            <constraint firstAttribute="height" constant="22" id="cPn-6i-0bC"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C2Z-Hn-pTh">
                        <rect key="frame" x="42" y="11.5" width="190" height="19"/>
                        <attributedString key="attributedText">
                            <fragment content="血压">
                                <attributes>
                                    <font key="NSFont" size="16" name="PingFangSC-Medium"/>
                                    <paragraphStyle key="NSParagraphStyle" alignment="natural" lineBreakMode="wordWrapping" baseWritingDirection="natural" maximumLineHeight="19" tighteningFactorForTruncation="0.0"/>
                                </attributes>
                            </fragment>
                        </attributedString>
                        <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="O4Z-XP-4Z1">
                        <rect key="frame" x="10" y="42" width="29.5" height="34"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="24"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_bp_nodata" translatesAutoresizingMaskIntoConstraints="NO" id="EF0-t6-2Fd">
                        <rect key="frame" x="10.5" y="100" width="209.5" height="55"/>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="暂无数据" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QoF-t9-1sY">
                        <rect key="frame" x="90.5" y="80" width="56" height="20"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
                        <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VMw-7i-Evr" customClass="LineChartView" customModule="Charts">
                        <rect key="frame" x="3" y="81" width="229" height="98"/>
                        <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                    </view>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wbn-IQ-Py5">
                        <rect key="frame" x="208" y="11" width="17" height="20"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
                        <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                </subviews>
            </view>
            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstAttribute="trailing" secondItem="EF0-t6-2Fd" secondAttribute="trailing" constant="17" id="5bI-hF-b2W"/>
                <constraint firstItem="VMw-7i-Evr" firstAttribute="top" secondItem="O4Z-XP-4Z1" secondAttribute="bottom" constant="5" id="7A6-th-iNK"/>
                <constraint firstItem="EF0-t6-2Fd" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10.5" id="DsJ-it-uAV"/>
                <constraint firstItem="C5V-oE-wcR" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="EPC-Gj-Kmn"/>
                <constraint firstItem="C2Z-Hn-pTh" firstAttribute="centerY" secondItem="C5V-oE-wcR" secondAttribute="centerY" id="H0x-V9-YLP"/>
                <constraint firstAttribute="bottom" secondItem="EF0-t6-2Fd" secondAttribute="bottom" constant="25" id="HuZ-Wu-1tC"/>
                <constraint firstItem="C5V-oE-wcR" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="Hx5-l7-p06"/>
                <constraint firstItem="O4Z-XP-4Z1" firstAttribute="top" secondItem="C5V-oE-wcR" secondAttribute="bottom" constant="10" id="NXz-Nr-DwU"/>
                <constraint firstItem="O4Z-XP-4Z1" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="PTe-l9-WDA"/>
                <constraint firstAttribute="bottom" secondItem="VMw-7i-Evr" secondAttribute="bottom" constant="1" id="Pz7-Es-k3x"/>
                <constraint firstItem="C2Z-Hn-pTh" firstAttribute="leading" secondItem="C5V-oE-wcR" secondAttribute="trailing" constant="10" id="Th6-5h-WIi"/>
                <constraint firstAttribute="trailing" secondItem="C2Z-Hn-pTh" secondAttribute="trailing" constant="5" id="V3i-v6-sg7"/>
                <constraint firstItem="QoF-t9-1sY" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="bmb-ML-IPa"/>
                <constraint firstItem="QoF-t9-1sY" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="ckG-7b-Klx"/>
                <constraint firstAttribute="trailing" secondItem="Wbn-IQ-Py5" secondAttribute="trailing" constant="12" id="gHm-ZP-9E7"/>
                <constraint firstAttribute="trailing" secondItem="VMw-7i-Evr" secondAttribute="trailing" constant="5" id="hb8-Q8-KUm"/>
                <constraint firstItem="VMw-7i-Evr" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="3" id="hux-ho-HwB"/>
                <constraint firstItem="Wbn-IQ-Py5" firstAttribute="centerY" secondItem="C2Z-Hn-pTh" secondAttribute="centerY" id="vhC-9s-teA"/>
            </constraints>
            <size key="customSize" width="237" height="180"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="10"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="bpValueLabel" destination="O4Z-XP-4Z1" id="fzn-0p-iBA"/>
                <outlet property="dateLabel" destination="Wbn-IQ-Py5" id="tXz-0j-qU4"/>
                <outlet property="lineChartView" destination="VMw-7i-Evr" id="dSP-ir-eIi"/>
                <outlet property="noDataImageView" destination="EF0-t6-2Fd" id="aY6-0H-FjF"/>
                <outlet property="noDataLabel" destination="QoF-t9-1sY" id="mBH-FU-rbq"/>
                <outlet property="titleLabel" destination="C2Z-Hn-pTh" id="1ik-UC-AOr"/>
            </connections>
            <point key="canvasLocation" x="147.10144927536234" y="43.526785714285715"/>
        </collectionViewCell>
    </objects>
    <resources>
        <image name="home_bp" width="24" height="24"/>
        <image name="home_bp_nodata" width="142.5" height="55"/>
    </resources>
</document>