BOReportCell.xib 13.1 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="BOReportCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="427" height="287"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="427" height="287"/>
                <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="9M5-eq-Rie">
                        <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="yiF-KN-goR">
                        <rect key="frame" x="362" 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="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3nD-hY-UNh">
                        <rect key="frame" x="185.5" y="229" width="56" height="20"/>
                        <constraints>
                            <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="hRw-T2-b9N"/>
                        </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="E5k-x3-dpA">
                        <rect key="frame" x="183.5" y="244" width="60" 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="dvs-7z-SmE">
                        <rect key="frame" x="7.5" y="244" width="55.5" height="35"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="40o-Ur-pcw" customClass="LineChartView" customModule="Charts">
                        <rect key="frame" x="0.0" y="44" width="427" height="169"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    </view>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="最低血氧" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="85b-uy-cbr">
                        <rect key="frame" x="364" y="229" width="56" height="20"/>
                        <constraints>
                            <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="QSU-OG-lyO"/>
                        </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="D1c-0L-hMd">
                        <rect key="frame" x="362" y="244" width="60" 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" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OIt-de-mit">
                        <rect key="frame" x="7" y="229" width="56" height="20"/>
                        <constraints>
                            <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="JHI-em-KHh"/>
                        </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>
                </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="40o-Ur-pcw" secondAttribute="trailing" id="4d0-Hc-nof"/>
                <constraint firstItem="dvs-7z-SmE" firstAttribute="centerX" secondItem="OIt-de-mit" secondAttribute="centerX" id="8WJ-X0-PGw"/>
                <constraint firstAttribute="bottom" secondItem="3nD-hY-UNh" secondAttribute="bottom" constant="38" id="9pg-A4-cHj"/>
                <constraint firstItem="E5k-x3-dpA" firstAttribute="centerY" secondItem="dvs-7z-SmE" secondAttribute="centerY" id="9sp-L7-BAE"/>
                <constraint firstAttribute="bottom" secondItem="OIt-de-mit" secondAttribute="bottom" constant="38" id="CIx-fE-J9O"/>
                <constraint firstAttribute="bottom" secondItem="dvs-7z-SmE" secondAttribute="bottom" constant="8" id="Oqy-8G-0mK"/>
                <constraint firstItem="9M5-eq-Rie" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="16" id="UHc-yO-Tc6"/>
                <constraint firstItem="3nD-hY-UNh" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="Wah-PX-nxS"/>
                <constraint firstAttribute="trailing" secondItem="85b-uy-cbr" secondAttribute="trailing" constant="7" id="Z2h-hv-Pqc"/>
                <constraint firstItem="9M5-eq-Rie" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="ZFA-us-doq"/>
                <constraint firstAttribute="trailing" secondItem="yiF-KN-goR" secondAttribute="trailing" constant="15" id="cR5-yz-LFd"/>
                <constraint firstItem="OIt-de-mit" firstAttribute="top" secondItem="40o-Ur-pcw" secondAttribute="bottom" constant="16" id="eip-Qz-hJ5"/>
                <constraint firstItem="40o-Ur-pcw" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="f86-zz-GpE"/>
                <constraint firstItem="E5k-x3-dpA" firstAttribute="centerX" secondItem="3nD-hY-UNh" secondAttribute="centerX" id="j3p-wh-Pxt"/>
                <constraint firstItem="40o-Ur-pcw" firstAttribute="top" secondItem="9M5-eq-Rie" secondAttribute="bottom" constant="7" id="lhE-IG-9L3"/>
                <constraint firstAttribute="bottom" secondItem="85b-uy-cbr" secondAttribute="bottom" constant="38" id="nYT-xT-zuj"/>
                <constraint firstItem="D1c-0L-hMd" firstAttribute="centerX" secondItem="85b-uy-cbr" secondAttribute="centerX" id="o0z-ck-bUh"/>
                <constraint firstItem="yiF-KN-goR" firstAttribute="centerY" secondItem="9M5-eq-Rie" secondAttribute="centerY" id="ofu-Pk-0hC"/>
                <constraint firstItem="D1c-0L-hMd" firstAttribute="centerY" secondItem="E5k-x3-dpA" secondAttribute="centerY" id="qcd-XR-i8E"/>
                <constraint firstItem="OIt-de-mit" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="7" id="wsh-Ta-5mU"/>
            </constraints>
            <size key="customSize" width="427" height="287"/>
            <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="avgBOLabel" destination="E5k-x3-dpA" id="Xr7-ed-YVq"/>
                <outlet property="dateLabel" destination="yiF-KN-goR" id="EnZ-Z0-x3a"/>
                <outlet property="lineChartView" destination="40o-Ur-pcw" id="EcP-St-OQD"/>
                <outlet property="maxBOLabel" destination="dvs-7z-SmE" id="v0g-xW-BGy"/>
                <outlet property="minBOLabel" destination="D1c-0L-hMd" id="Yue-fo-RWy"/>
            </connections>
            <point key="canvasLocation" x="410.86956521739131" y="134.26339285714286"/>
        </collectionViewCell>
    </objects>
    <resources>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>