HRReportCell.xib 13.3 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
        <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="HRReportCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="408" height="248"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="408" height="248"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="心率" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ncf-2Q-IMM">
                        <rect key="frame" x="15" y="16" width="30" height="21"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="15"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2021.12.11" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MOL-Ne-ts1">
                        <rect key="frame" x="343" y="18.5" width="50" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="平均心率" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kGX-iD-4k0">
                        <rect key="frame" x="154" y="190" width="100" height="20"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="100" id="ue0-F0-Kts"/>
                        </constraints>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mba-d0-3zl">
                        <rect key="frame" x="175" y="206" width="58" height="34"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="24"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="O6X-V6-Yem">
                        <rect key="frame" x="3" y="206" width="116.5" height="34"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="24"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="最低心率" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3H9-Wq-AYm">
                        <rect key="frame" x="288.5" y="190" width="116.5" height="20"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5000" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RnJ-sN-Rk8">
                        <rect key="frame" x="288.5" y="206" width="116.5" height="34"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="24"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mPV-zD-EeO" customClass="LineChartView" customModule="Charts">
                        <rect key="frame" x="0.0" y="44" width="408" height="130"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    </view>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="最高心率" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MRk-XL-TeO">
                        <rect key="frame" x="2" y="190" width="118.5" height="20"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" 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 firstItem="O6X-V6-Yem" firstAttribute="centerX" secondItem="MRk-XL-TeO" secondAttribute="centerX" id="1Ff-2D-Ijz"/>
                <constraint firstItem="O6X-V6-Yem" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="3" id="24n-Za-6mt"/>
                <constraint firstItem="kGX-iD-4k0" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="9Hf-Nz-Y1L"/>
                <constraint firstAttribute="trailing" secondItem="3H9-Wq-AYm" secondAttribute="trailing" constant="3" id="ANJ-rC-HTJ"/>
                <constraint firstItem="MRk-XL-TeO" firstAttribute="top" secondItem="mPV-zD-EeO" secondAttribute="bottom" constant="16" id="Bmo-Fu-4yc"/>
                <constraint firstItem="MRk-XL-TeO" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="0.3" id="Bwn-0n-JKU"/>
                <constraint firstItem="MRk-XL-TeO" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="2" id="ENP-Uh-ciB"/>
                <constraint firstItem="RnJ-sN-Rk8" firstAttribute="centerX" secondItem="3H9-Wq-AYm" secondAttribute="centerX" id="Ena-UG-fYf"/>
                <constraint firstItem="mPV-zD-EeO" firstAttribute="top" secondItem="Ncf-2Q-IMM" secondAttribute="bottom" constant="7" id="Fem-5Y-ED2"/>
                <constraint firstItem="MOL-Ne-ts1" firstAttribute="centerY" secondItem="Ncf-2Q-IMM" secondAttribute="centerY" id="H6t-0K-EcV"/>
                <constraint firstItem="Mba-d0-3zl" firstAttribute="centerX" secondItem="kGX-iD-4k0" secondAttribute="centerX" id="HJj-Ql-LPb"/>
                <constraint firstItem="Ncf-2Q-IMM" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="16" id="J5w-1k-wlH"/>
                <constraint firstAttribute="trailing" secondItem="MOL-Ne-ts1" secondAttribute="trailing" constant="15" id="K46-B4-MDY"/>
                <constraint firstItem="Mba-d0-3zl" firstAttribute="centerY" secondItem="O6X-V6-Yem" secondAttribute="centerY" id="S9Z-cD-eVW"/>
                <constraint firstItem="3H9-Wq-AYm" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="1.7" id="SKY-O8-e6i"/>
                <constraint firstItem="mPV-zD-EeO" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="WX9-lH-7FH"/>
                <constraint firstItem="RnJ-sN-Rk8" firstAttribute="centerY" secondItem="Mba-d0-3zl" secondAttribute="centerY" id="Wz9-08-8IT"/>
                <constraint firstItem="Ncf-2Q-IMM" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="Xqv-iY-oqF"/>
                <constraint firstAttribute="trailing" secondItem="mPV-zD-EeO" secondAttribute="trailing" id="c4g-b7-O2E"/>
                <constraint firstAttribute="bottom" secondItem="kGX-iD-4k0" secondAttribute="bottom" constant="38" id="hhx-AU-rg7"/>
                <constraint firstAttribute="trailing" secondItem="RnJ-sN-Rk8" secondAttribute="trailing" constant="3" id="iJb-6i-XID"/>
                <constraint firstAttribute="bottom" secondItem="O6X-V6-Yem" secondAttribute="bottom" constant="8" id="tYH-uE-y98"/>
                <constraint firstAttribute="bottom" secondItem="3H9-Wq-AYm" secondAttribute="bottom" constant="38" id="uSJ-u6-E35"/>
                <constraint firstAttribute="bottom" secondItem="MRk-XL-TeO" secondAttribute="bottom" constant="38" id="yMf-4a-VxS"/>
            </constraints>
            <size key="customSize" width="408" height="248"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="10"/>
                </userDefinedRuntimeAttribute>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth">
                    <integer key="value" value="1"/>
                </userDefinedRuntimeAttribute>
                <userDefinedRuntimeAttribute type="color" keyPath="layer.borderUIColor">
                    <color key="value" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="avgHrLabel" destination="Mba-d0-3zl" id="by9-yx-D7x"/>
                <outlet property="dateLabel" destination="MOL-Ne-ts1" id="v1d-Kr-qCa"/>
                <outlet property="lineChartView" destination="mPV-zD-EeO" id="NFn-q0-JwE"/>
                <outlet property="maxHrLabel" destination="O6X-V6-Yem" id="ECa-vF-MzX"/>
                <outlet property="minHrLabel" destination="RnJ-sN-Rk8" id="WkJ-RS-Xl1"/>
            </connections>
            <point key="canvasLocation" x="397.10144927536237" y="121.875"/>
        </collectionViewCell>
    </objects>
    <resources>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>