BloodOxygenCell.xib 10.5 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="BloodOxygenCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="294" height="199"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="294" height="199"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_bo" translatesAutoresizingMaskIntoConstraints="NO" id="toP-Jf-7Mt">
                        <rect key="frame" x="10" y="10" width="22" height="22"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="22" id="g4m-3a-V99"/>
                            <constraint firstAttribute="width" constant="22" id="gbt-tZ-10T"/>
                        </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="V1U-7y-Ul6">
                        <rect key="frame" x="42" y="11.5" width="247" 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="98" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tmb-aT-pnd">
                        <rect key="frame" x="10" y="42.5" width="30" 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="ZKq-6e-8jy">
                        <rect key="frame" x="42" y="55.5" width="11" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="11"/>
                        <color key="textColor" red="0.50196078430000002" green="0.50196078430000002" blue="0.50196078430000002" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_bo_nodata" translatesAutoresizingMaskIntoConstraints="NO" id="86W-Pq-eip">
                        <rect key="frame" x="8" y="131" width="274" height="27"/>
                    </imageView>
                    <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nd0-UZ-B46" customClass="LineChartView" customModule="Charts">
                        <rect key="frame" x="3" y="80.5" width="286" height="117.5"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    </view>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2021/11/02" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jfI-zT-aHH">
                        <rect key="frame" x="42" y="29.5" width="58" height="16"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="16" id="Xgb-8w-ufh"/>
                        </constraints>
                        <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="11"/>
                        <nil key="textColor"/>
                        <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="ZKq-6e-8jy" firstAttribute="bottom" secondItem="tmb-aT-pnd" secondAttribute="bottom" constant="-6" id="0PH-zs-mse"/>
                <constraint firstItem="V1U-7y-Ul6" firstAttribute="centerY" secondItem="toP-Jf-7Mt" secondAttribute="centerY" id="14d-4T-Ehf"/>
                <constraint firstItem="jfI-zT-aHH" firstAttribute="leading" secondItem="V1U-7y-Ul6" secondAttribute="leading" id="1D1-dl-77N"/>
                <constraint firstItem="Nd0-UZ-B46" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="3" id="2AO-8j-TBM"/>
                <constraint firstAttribute="trailing" secondItem="Nd0-UZ-B46" secondAttribute="trailing" constant="5" id="3E0-hJ-SC3"/>
                <constraint firstItem="Nd0-UZ-B46" firstAttribute="top" secondItem="tmb-aT-pnd" secondAttribute="bottom" constant="3" id="3sP-ls-BSg"/>
                <constraint firstAttribute="bottom" secondItem="Nd0-UZ-B46" secondAttribute="bottom" constant="1" id="62Y-jg-4u4"/>
                <constraint firstItem="jfI-zT-aHH" firstAttribute="top" secondItem="V1U-7y-Ul6" secondAttribute="bottom" constant="-1" id="A45-yy-ct3"/>
                <constraint firstItem="toP-Jf-7Mt" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="AYC-BH-sag"/>
                <constraint firstAttribute="trailing" secondItem="V1U-7y-Ul6" secondAttribute="trailing" constant="5" id="OEQ-gU-pef"/>
                <constraint firstAttribute="trailing" secondItem="86W-Pq-eip" secondAttribute="trailing" constant="12" id="OdJ-Bv-wDs"/>
                <constraint firstItem="tmb-aT-pnd" firstAttribute="top" secondItem="jfI-zT-aHH" secondAttribute="bottom" constant="-3" id="VSu-do-yv7"/>
                <constraint firstAttribute="bottom" secondItem="86W-Pq-eip" secondAttribute="bottom" constant="41" id="Z2m-QA-0PS"/>
                <constraint firstItem="V1U-7y-Ul6" firstAttribute="leading" secondItem="toP-Jf-7Mt" secondAttribute="trailing" constant="10" id="jgb-g0-na2"/>
                <constraint firstItem="toP-Jf-7Mt" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="oZe-pf-cg5"/>
                <constraint firstItem="ZKq-6e-8jy" firstAttribute="leading" secondItem="tmb-aT-pnd" secondAttribute="trailing" constant="2" id="r4u-Zx-h3W"/>
                <constraint firstItem="tmb-aT-pnd" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="uMp-1I-uPd"/>
                <constraint firstItem="86W-Pq-eip" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="8" id="yFp-cA-gCk"/>
            </constraints>
            <size key="customSize" width="294" height="199"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="10"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="boValueLabel" destination="tmb-aT-pnd" id="Hh3-xp-GTb"/>
                <outlet property="dateLabel" destination="jfI-zT-aHH" id="96B-I3-1bm"/>
                <outlet property="lineChartView" destination="Nd0-UZ-B46" id="8yU-Sb-l01"/>
                <outlet property="noDataImageView" destination="86W-Pq-eip" id="tfg-2g-pc7"/>
                <outlet property="titleLabel" destination="V1U-7y-Ul6" id="f1X-nw-clL"/>
            </connections>
            <point key="canvasLocation" x="314.49275362318843" y="153.01339285714286"/>
        </collectionViewCell>
    </objects>
    <resources>
        <image name="home_bo" width="22" height="22"/>
        <image name="home_bo_nodata" width="150" height="27"/>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>