MotionRecordCell.xib 12.2 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="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"/>
        <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" rowHeight="50" id="KGk-i7-Jjw" customClass="MotionRecordCell" customModule="Twear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="373" height="50"/>
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
                <rect key="frame" x="0.0" y="0.0" width="373" height="50"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="n9v-CW-EdS">
                        <rect key="frame" x="12" y="14" width="22" height="22"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="22" id="IIJ-vh-i1V"/>
                            <constraint firstAttribute="height" constant="22" id="Qf1-sD-XP8"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gzt-yK-3zt">
                        <rect key="frame" x="43.5" y="2" width="10" 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="公里" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XVV-6h-7oV">
                        <rect key="frame" x="58" y="7" width="22" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="record_time" translatesAutoresizingMaskIntoConstraints="NO" id="IzB-bh-j1M">
                        <rect key="frame" x="44" y="26" width="12" height="12"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="12" id="Ye7-BG-4iQ"/>
                            <constraint firstAttribute="width" constant="12" id="gzo-pX-5Af"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:00:00" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PHB-bN-Te0">
                        <rect key="frame" x="60.5" y="24" width="45.5" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qMn-8g-Icb">
                        <rect key="frame" x="132.5" y="24" width="7" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="record_calorie" translatesAutoresizingMaskIntoConstraints="NO" id="3Xy-Op-RSG">
                        <rect key="frame" x="116" y="26" width="12" height="12"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="12" id="2He-ya-hMV"/>
                            <constraint firstAttribute="height" constant="12" id="Lj4-M2-1YX"/>
                        </constraints>
                    </imageView>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wnr-W6-u0k">
                        <rect key="frame" x="90" y="7.5" width="12" height="12"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="12" id="OgI-TT-lHf"/>
                            <constraint firstAttribute="width" constant="12" id="zFT-cc-wdn"/>
                        </constraints>
                    </imageView>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="01/01" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xvb-yj-3rt">
                        <rect key="frame" x="315" y="17" width="28" height="16"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fyp-WA-JRC">
                        <rect key="frame" x="12" y="49.5" width="349" height="0.5"/>
                        <color key="backgroundColor" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
                        <constraints>
                            <constraint firstAttribute="height" constant="0.5" id="dGo-0W-wl9"/>
                        </constraints>
                    </view>
                </subviews>
                <constraints>
                    <constraint firstItem="n9v-CW-EdS" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="12" id="0R0-1U-6uH"/>
                    <constraint firstItem="PHB-bN-Te0" firstAttribute="leading" secondItem="IzB-bh-j1M" secondAttribute="trailing" constant="4.5" id="8po-Fh-7wx"/>
                    <constraint firstItem="PHB-bN-Te0" firstAttribute="centerY" secondItem="IzB-bh-j1M" secondAttribute="centerY" id="91R-9e-vYO"/>
                    <constraint firstItem="3Xy-Op-RSG" firstAttribute="leading" secondItem="PHB-bN-Te0" secondAttribute="trailing" constant="10" id="I4g-hs-cQc"/>
                    <constraint firstItem="wnr-W6-u0k" firstAttribute="leading" secondItem="XVV-6h-7oV" secondAttribute="trailing" constant="10" id="QeH-BN-up2"/>
                    <constraint firstItem="XVV-6h-7oV" firstAttribute="leading" secondItem="Gzt-yK-3zt" secondAttribute="trailing" constant="4.5" id="USr-Zl-DTe"/>
                    <constraint firstItem="n9v-CW-EdS" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="UeA-1U-hhF"/>
                    <constraint firstItem="fyp-WA-JRC" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="12" id="V1W-Xm-R6B"/>
                    <constraint firstItem="3Xy-Op-RSG" firstAttribute="centerY" secondItem="IzB-bh-j1M" secondAttribute="centerY" id="W1I-GU-RPn"/>
                    <constraint firstAttribute="trailing" secondItem="fyp-WA-JRC" secondAttribute="trailing" constant="12" id="Z7C-Uj-NNN"/>
                    <constraint firstItem="IzB-bh-j1M" firstAttribute="leading" secondItem="n9v-CW-EdS" secondAttribute="trailing" constant="10" id="Z9k-Qc-12L"/>
                    <constraint firstItem="Xvb-yj-3rt" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="ZLf-Bz-sHe"/>
                    <constraint firstItem="wnr-W6-u0k" firstAttribute="centerY" secondItem="Gzt-yK-3zt" secondAttribute="centerY" id="dfh-T0-FFb"/>
                    <constraint firstAttribute="trailing" secondItem="Xvb-yj-3rt" secondAttribute="trailing" constant="30" id="efe-5a-gun"/>
                    <constraint firstItem="IzB-bh-j1M" firstAttribute="bottom" secondItem="n9v-CW-EdS" secondAttribute="bottom" constant="2" id="hSc-bt-qCx"/>
                    <constraint firstItem="XVV-6h-7oV" firstAttribute="centerY" secondItem="Gzt-yK-3zt" secondAttribute="centerY" constant="1.5" id="m0D-KN-P5J"/>
                    <constraint firstItem="qMn-8g-Icb" firstAttribute="leading" secondItem="3Xy-Op-RSG" secondAttribute="trailing" constant="4.5" id="oO0-Nm-XxT"/>
                    <constraint firstItem="Gzt-yK-3zt" firstAttribute="top" secondItem="n9v-CW-EdS" secondAttribute="top" constant="-12" id="qfF-mi-QM2"/>
                    <constraint firstAttribute="bottom" secondItem="fyp-WA-JRC" secondAttribute="bottom" id="r1m-yW-Ed5"/>
                    <constraint firstItem="Gzt-yK-3zt" firstAttribute="leading" secondItem="n9v-CW-EdS" secondAttribute="trailing" constant="9.5" id="uMU-pz-3tp"/>
                    <constraint firstItem="qMn-8g-Icb" firstAttribute="centerY" secondItem="IzB-bh-j1M" secondAttribute="centerY" id="w6g-04-oWl"/>
                </constraints>
            </tableViewCellContentView>
            <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
            <connections>
                <outlet property="calorieLabel" destination="qMn-8g-Icb" id="iva-I0-t2L"/>
                <outlet property="dateLabel" destination="Xvb-yj-3rt" id="qaZ-GI-p47"/>
                <outlet property="mileageLabel" destination="Gzt-yK-3zt" id="jRL-Hc-nmp"/>
                <outlet property="motionImageView" destination="n9v-CW-EdS" id="faf-3x-Zqb"/>
                <outlet property="sourceImageView" destination="wnr-W6-u0k" id="mVe-Mn-zdG"/>
                <outlet property="timeLabel" destination="PHB-bN-Te0" id="IfH-5j-Bcp"/>
                <outlet property="unitLabel" destination="XVV-6h-7oV" id="3bF-3o-pjk"/>
            </connections>
            <point key="canvasLocation" x="176.08695652173915" y="55.580357142857139"/>
        </tableViewCell>
    </objects>
    <resources>
        <image name="record_calorie" width="12" height="12"/>
        <image name="record_time" width="12" height="12"/>
    </resources>
</document>