BloodOxygenCell.xib 10.5 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="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" width="30" height="35"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
                        <nil key="textColor"/>
                        <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" width="286" height="118"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    </view>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="暂无数据" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xeq-5z-PN2">
                        <rect key="frame" x="119" y="89.5" 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>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FoG-Wg-WFP">
                        <rect key="frame" x="265" 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 firstItem="V1U-7y-Ul6" firstAttribute="centerY" secondItem="toP-Jf-7Mt" secondAttribute="centerY" id="14d-4T-Ehf"/>
                <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="toP-Jf-7Mt" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="AYC-BH-sag"/>
                <constraint firstItem="tmb-aT-pnd" firstAttribute="top" secondItem="toP-Jf-7Mt" secondAttribute="bottom" constant="10" id="N6v-2d-hFH"/>
                <constraint firstItem="Xeq-5z-PN2" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="NDZ-hj-x2F"/>
                <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 firstAttribute="trailing" secondItem="FoG-Wg-WFP" secondAttribute="trailing" constant="12" id="VRz-l3-Kn8"/>
                <constraint firstAttribute="bottom" secondItem="86W-Pq-eip" secondAttribute="bottom" constant="41" id="Z2m-QA-0PS"/>
                <constraint firstItem="Xeq-5z-PN2" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="bK4-VS-Tho"/>
                <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="tmb-aT-pnd" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="uMp-1I-uPd"/>
                <constraint firstItem="FoG-Wg-WFP" firstAttribute="centerY" secondItem="V1U-7y-Ul6" secondAttribute="centerY" id="uOi-9v-a1h"/>
                <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="FoG-Wg-WFP" id="loM-ex-8rD"/>
                <outlet property="lineChartView" destination="Nd0-UZ-B46" id="8yU-Sb-l01"/>
                <outlet property="noDataImageView" destination="86W-Pq-eip" id="tfg-2g-pc7"/>
                <outlet property="noDataLabel" destination="Xeq-5z-PN2" id="orF-Ou-pBh"/>
                <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="23.5" height="24"/>
        <image name="home_bo_nodata" width="150" height="27"/>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>