StepReportCell.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="StepReportCell" customModule="Twear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="423" height="334"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="423" height="334"/>
                <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="0mJ-In-H4e">
                        <rect key="frame" x="83.5" y="275" width="45" height="21"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                        <color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" 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="WPp-Zo-bAH">
                        <rect key="frame" x="287.5" y="275" width="60" height="21"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                        <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="xnE-XV-yHX">
                        <rect key="frame" x="287.5" y="291" 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="Tug-8e-KgC">
                        <rect key="frame" x="78" y="291" width="55.5" 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="CCr-kv-z6V">
                        <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="CaS-ag-eXM">
                        <rect key="frame" x="358" 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>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YCf-eT-ago" customClass="LineChartView" customModule="Charts">
                        <rect key="frame" x="0.0" y="44" width="423" height="219"/>
                        <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="trailing" secondItem="CaS-ag-eXM" secondAttribute="trailing" constant="15" id="1EF-pJ-cof"/>
                <constraint firstItem="CCr-kv-z6V" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="1i6-Kb-NGX"/>
                <constraint firstItem="CaS-ag-eXM" firstAttribute="centerY" secondItem="CCr-kv-z6V" secondAttribute="centerY" id="6jr-1R-twc"/>
                <constraint firstItem="0mJ-In-H4e" firstAttribute="top" secondItem="YCf-eT-ago" secondAttribute="bottom" constant="12" id="BcT-0J-VSE"/>
                <constraint firstItem="Tug-8e-KgC" firstAttribute="centerX" secondItem="0mJ-In-H4e" secondAttribute="centerX" id="Bxw-A4-FaX"/>
                <constraint firstItem="YCf-eT-ago" firstAttribute="top" secondItem="CCr-kv-z6V" secondAttribute="bottom" constant="7" id="Cs2-Bx-K2o"/>
                <constraint firstItem="WPp-Zo-bAH" firstAttribute="centerY" secondItem="0mJ-In-H4e" secondAttribute="centerY" id="FB8-aw-l3W"/>
                <constraint firstItem="YCf-eT-ago" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Hu3-JL-k0u"/>
                <constraint firstItem="xnE-XV-yHX" firstAttribute="centerX" secondItem="WPp-Zo-bAH" secondAttribute="centerX" id="IfW-0Y-Utv"/>
                <constraint firstItem="xnE-XV-yHX" firstAttribute="centerY" secondItem="Tug-8e-KgC" secondAttribute="centerY" id="Ixc-EU-YWX"/>
                <constraint firstItem="0mJ-In-H4e" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="0.5" id="MxP-ZX-YWL"/>
                <constraint firstAttribute="bottom" secondItem="0mJ-In-H4e" secondAttribute="bottom" constant="38" id="Qnl-48-b3M"/>
                <constraint firstAttribute="bottom" secondItem="xnE-XV-yHX" secondAttribute="bottom" constant="8" id="g7g-2b-sP7"/>
                <constraint firstItem="CCr-kv-z6V" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="16" id="gxE-fD-9W3"/>
                <constraint firstItem="WPp-Zo-bAH" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="1.5" id="mKH-aj-Z9H"/>
                <constraint firstAttribute="trailing" secondItem="YCf-eT-ago" secondAttribute="trailing" id="upy-yL-LqP"/>
            </constraints>
            <size key="customSize" width="423" height="334"/>
            <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="dateLabel" destination="CaS-ag-eXM" id="3uF-eN-voa"/>
                <outlet property="detailLabel" destination="WPp-Zo-bAH" id="fXA-DW-V2U"/>
                <outlet property="lineChartView" destination="YCf-eT-ago" id="nrF-1H-gQJ"/>
                <outlet property="stepLabel" destination="Tug-8e-KgC" id="7Cl-pe-HQx"/>
                <outlet property="stepsGoalLabel" destination="xnE-XV-yHX" id="Ksw-k6-tNi"/>
            </connections>
            <point key="canvasLocation" x="407.97101449275368" y="150.66964285714286"/>
        </collectionViewCell>
    </objects>
    <resources>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>