Blame view

HDFwear/Home/Cell/Base.lproj/MotionCell.xib 8.27 KB
f2cf74c7   yangbin   1.0.20(4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
  <?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="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="MotionCell" customModule="HDFwear" customModuleProvider="target">
              <rect key="frame" x="0.0" y="0.0" width="213" height="207"/>
              <autoresizingMask key="autoresizingMask"/>
              <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                  <rect key="frame" x="0.0" y="0.0" width="213" height="207"/>
                  <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                  <subviews>
                      <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_motion" translatesAutoresizingMaskIntoConstraints="NO" id="Ruf-iA-PFA">
                          <rect key="frame" x="10" y="10" width="22" height="22"/>
                          <constraints>
                              <constraint firstAttribute="height" constant="22" id="FVz-hV-oFq"/>
                              <constraint firstAttribute="width" constant="22" id="odw-W6-nNL"/>
                          </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="nna-Lu-lEG">
                          <rect key="frame" x="42" y="11.5" width="166" 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="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="scx-9J-29c">
                          <rect key="frame" x="10" y="43.5" width="198" height="0.0"/>
                          <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="2021/11/02" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="S0d-8B-Dy8">
                          <rect key="frame" x="42" y="29.5" width="168" height="16"/>
                          <constraints>
                              <constraint firstAttribute="height" constant="16" id="CIP-8F-avx"/>
                          </constraints>
                          <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="10"/>
                          <nil key="textColor"/>
                          <nil key="highlightedColor"/>
                      </label>
                      <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_motion_bg" translatesAutoresizingMaskIntoConstraints="NO" id="3Ct-xN-W86">
                          <rect key="frame" x="66.5" y="98.5" width="80.5" height="97.5"/>
                      </imageView>
                  </subviews>
              </view>
              <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
              <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
              <constraints>
                  <constraint firstItem="Ruf-iA-PFA" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="59Z-69-4Fy"/>
                  <constraint firstItem="S0d-8B-Dy8" firstAttribute="leading" secondItem="nna-Lu-lEG" secondAttribute="leading" id="CZq-UQ-0tv"/>
                  <constraint firstAttribute="trailing" secondItem="scx-9J-29c" secondAttribute="trailing" constant="5" id="FZO-8i-NGm"/>
                  <constraint firstItem="nna-Lu-lEG" firstAttribute="leading" secondItem="Ruf-iA-PFA" secondAttribute="trailing" constant="10" id="Fck-FD-7Vj"/>
                  <constraint firstAttribute="trailing" secondItem="nna-Lu-lEG" secondAttribute="trailing" constant="5" id="JYB-pa-3Lj"/>
                  <constraint firstAttribute="trailing" secondItem="S0d-8B-Dy8" secondAttribute="trailing" constant="3" id="UPz-O7-fFL"/>
                  <constraint firstItem="scx-9J-29c" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="Vjc-1W-MBb"/>
                  <constraint firstItem="Ruf-iA-PFA" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="bew-SJ-d2u"/>
                  <constraint firstAttribute="bottom" secondItem="3Ct-xN-W86" secondAttribute="bottom" constant="11" id="dhc-P4-pOt"/>
                  <constraint firstItem="S0d-8B-Dy8" firstAttribute="top" secondItem="nna-Lu-lEG" secondAttribute="bottom" constant="-1" id="gIZ-qY-P5O"/>
                  <constraint firstItem="nna-Lu-lEG" firstAttribute="centerY" secondItem="Ruf-iA-PFA" secondAttribute="centerY" id="kye-Xg-jI9"/>
                  <constraint firstItem="3Ct-xN-W86" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="mVU-av-tIX"/>
                  <constraint firstItem="scx-9J-29c" firstAttribute="top" secondItem="S0d-8B-Dy8" secondAttribute="bottom" constant="-2" id="ns4-sj-k8P"/>
              </constraints>
              <size key="customSize" width="213" height="207"/>
              <userDefinedRuntimeAttributes>
                  <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                      <integer key="value" value="10"/>
                  </userDefinedRuntimeAttribute>
              </userDefinedRuntimeAttributes>
              <connections>
                  <outlet property="dateLabel" destination="S0d-8B-Dy8" id="sek-vA-Q8Z"/>
                  <outlet property="distnaceLabel" destination="scx-9J-29c" id="WiC-Lk-2Ad"/>
                  <outlet property="imageView" destination="3Ct-xN-W86" id="RDs-F7-cLA"/>
                  <outlet property="titleLabel" destination="nna-Lu-lEG" id="yTg-0S-UUw"/>
              </connections>
              <point key="canvasLocation" x="268.84057971014494" y="153.68303571428569"/>
          </collectionViewCell>
      </objects>
      <resources>
          <image name="home_motion" width="22" height="22"/>
          <image name="home_motion_bg" width="80.5" height="97.5"/>
      </resources>
  </document>