PressureCell.xib 9.92 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="PressureCell" customModule="HDFwear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="321" height="227"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="321" height="227"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_pressure" translatesAutoresizingMaskIntoConstraints="NO" id="d3M-sC-QDT">
                        <rect key="frame" x="10" y="10" width="22" height="22"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="22" id="xwB-iO-Jug"/>
                            <constraint firstAttribute="height" constant="22" id="zPW-dm-FVP"/>
                        </constraints>
                    </imageView>
                    <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="no0-3V-Uom">
                        <rect key="frame" x="42" y="31.5" width="58" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="11"/>
                        <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="ULz-sW-5Ad">
                        <rect key="frame" x="42" y="9.5" width="32" height="23"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="16"/>
                        <nil key="textColor"/>
                        <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="jh5-Ii-VhN">
                        <rect key="frame" x="10" y="44" 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="Q63-av-h9g">
                        <rect key="frame" x="42" y="57" 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_pressure_nodata" translatesAutoresizingMaskIntoConstraints="NO" id="xU0-Jn-sPr">
                        <rect key="frame" x="14" y="156.5" width="300" height="40.5"/>
                    </imageView>
                    <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4nU-fM-UQo" customClass="LineChartView" customModule="Charts">
                        <rect key="frame" x="3" y="82" width="313" height="144"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    </view>
                </subviews>
            </view>
            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
            <constraints>
                <constraint firstAttribute="bottom" secondItem="xU0-Jn-sPr" secondAttribute="bottom" constant="30" id="68T-kc-o3p"/>
                <constraint firstItem="Q63-av-h9g" firstAttribute="leading" secondItem="jh5-Ii-VhN" secondAttribute="trailing" constant="2" id="ICC-Vv-bnh"/>
                <constraint firstItem="no0-3V-Uom" firstAttribute="leading" secondItem="ULz-sW-5Ad" secondAttribute="leading" id="PYr-e0-BEH"/>
                <constraint firstItem="xU0-Jn-sPr" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="14" id="Ppr-B7-BiA"/>
                <constraint firstItem="d3M-sC-QDT" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="S1m-R8-VTR"/>
                <constraint firstItem="jh5-Ii-VhN" firstAttribute="top" secondItem="d3M-sC-QDT" secondAttribute="bottom" constant="12" id="Xe5-32-6cm"/>
                <constraint firstItem="Q63-av-h9g" firstAttribute="bottom" secondItem="jh5-Ii-VhN" secondAttribute="bottom" constant="-6" id="Z0W-dL-m6B"/>
                <constraint firstItem="d3M-sC-QDT" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="enD-kf-Of4"/>
                <constraint firstItem="4nU-fM-UQo" firstAttribute="top" secondItem="jh5-Ii-VhN" secondAttribute="bottom" constant="3" id="hbw-ay-WKC"/>
                <constraint firstItem="jh5-Ii-VhN" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="kWC-BU-a0Q"/>
                <constraint firstItem="ULz-sW-5Ad" firstAttribute="centerY" secondItem="d3M-sC-QDT" secondAttribute="centerY" id="msa-rs-hg9"/>
                <constraint firstItem="ULz-sW-5Ad" firstAttribute="leading" secondItem="d3M-sC-QDT" secondAttribute="trailing" constant="10" id="nzu-Sd-JNs"/>
                <constraint firstAttribute="trailing" secondItem="xU0-Jn-sPr" secondAttribute="trailing" constant="7" id="pZv-Rm-e4s"/>
                <constraint firstItem="no0-3V-Uom" firstAttribute="top" secondItem="ULz-sW-5Ad" secondAttribute="bottom" constant="-1" id="qlW-WX-3Sc"/>
                <constraint firstAttribute="trailing" secondItem="4nU-fM-UQo" secondAttribute="trailing" constant="5" id="tIk-68-OjP"/>
                <constraint firstAttribute="bottom" secondItem="4nU-fM-UQo" secondAttribute="bottom" constant="1" id="vd6-5P-ZWr"/>
                <constraint firstItem="4nU-fM-UQo" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="3" id="y2V-EO-JVz"/>
            </constraints>
            <size key="customSize" width="321" height="227"/>
            <userDefinedRuntimeAttributes>
                <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                    <integer key="value" value="10"/>
                </userDefinedRuntimeAttribute>
            </userDefinedRuntimeAttributes>
            <connections>
                <outlet property="dateLabel" destination="no0-3V-Uom" id="COn-In-QCd"/>
                <outlet property="detailLabel" destination="Q63-av-h9g" id="f4Z-V5-VDl"/>
                <outlet property="lineChartView" destination="4nU-fM-UQo" id="rlC-Jo-Zn5"/>
                <outlet property="noDataImageView" destination="xU0-Jn-sPr" id="Fy8-lP-56J"/>
                <outlet property="pressureLabel" destination="ULz-sW-5Ad" id="ju5-tU-j5g"/>
                <outlet property="valueLabel" destination="jh5-Ii-VhN" id="8eQ-Mu-hmI"/>
            </connections>
            <point key="canvasLocation" x="334.05797101449281" y="114.17410714285714"/>
        </collectionViewCell>
    </objects>
    <resources>
        <image name="home_pressure" width="22" height="22"/>
        <image name="home_pressure_nodata" width="149.5" height="40.5"/>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>