Blame view

HDFwear/Mine/View/Base.lproj/SleepReportCell.xib 20.5 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
  <?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="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="SleepReportCell" customModule="HDFwear" customModuleProvider="target">
              <rect key="frame" x="0.0" y="0.0" width="437" height="295"/>
              <autoresizingMask key="autoresizingMask"/>
              <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                  <rect key="frame" x="0.0" y="0.0" width="437" height="295"/>
                  <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                  <subviews>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="深睡" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MQj-fy-Wkg">
                          <rect key="frame" x="380.5" y="238.5" width="26" height="18.5"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                          <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="E0P-cX-gbt">
                          <rect key="frame" x="363.5" y="254.5" width="55.5" height="32.5"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="23"/>
                          <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="X6C-Bt-uoo">
                          <rect key="frame" x="158" y="254.5" width="51" height="32.5"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="23"/>
                          <nil key="textColor"/>
                          <nil key="highlightedColor"/>
                      </label>
                      <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WF3-D9-gJw">
                          <rect key="frame" x="157.5" y="243" width="10" height="10"/>
                          <color key="backgroundColor" red="1" green="0.53333333333333333" blue="0.45882352941176469" alpha="1" colorSpace="calibratedRGB"/>
                          <constraints>
                              <constraint firstAttribute="width" constant="10" id="ChA-9E-FWd"/>
                              <constraint firstAttribute="height" constant="10" id="zia-7M-KEs"/>
                          </constraints>
                          <userDefinedRuntimeAttributes>
                              <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                  <integer key="value" value="5"/>
                              </userDefinedRuntimeAttribute>
                          </userDefinedRuntimeAttributes>
                      </view>
                      <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dU0-xM-Dgz">
                          <rect key="frame" x="365.5" y="243" width="10" height="10"/>
                          <color key="backgroundColor" red="0.59215686274509804" green="0.20000000000000001" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                          <constraints>
                              <constraint firstAttribute="width" constant="10" id="7gK-o7-OpV"/>
                              <constraint firstAttribute="height" constant="10" id="xYG-O4-FdM"/>
                          </constraints>
                          <userDefinedRuntimeAttributes>
                              <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                  <integer key="value" value="5"/>
                              </userDefinedRuntimeAttribute>
                          </userDefinedRuntimeAttributes>
                      </view>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="日均时长" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KvJ-hg-AMn">
                          <rect key="frame" x="8" y="238.5" width="52" height="18.5"/>
                          <constraints>
                              <constraint firstAttribute="width" relation="lessThanOrEqual" constant="80" id="trh-Qf-X5P"/>
                          </constraints>
                          <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                          <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="zje-UF-wix">
                          <rect key="frame" x="6" y="254.5" width="55.5" height="32.5"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="23"/>
                          <nil key="textColor"/>
                          <nil key="highlightedColor"/>
                      </label>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="浅睡" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xwt-pn-UTA">
                          <rect key="frame" x="276.5" y="238.5" width="26" height="18.5"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                          <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="--步" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nML-ID-9WV">
                          <rect key="frame" x="262" y="254.5" width="51" height="32.5"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="23"/>
                          <nil key="textColor"/>
                          <nil key="highlightedColor"/>
                      </label>
                      <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xHU-D2-zgo">
                          <rect key="frame" x="261.5" y="243" width="10" height="10"/>
                          <color key="backgroundColor" red="0.84313725490196079" green="0.25882352941176467" blue="0.76862745098039209" alpha="1" colorSpace="calibratedRGB"/>
                          <constraints>
                              <constraint firstAttribute="width" constant="10" id="PQi-tS-Tiu"/>
                              <constraint firstAttribute="height" constant="10" id="ejO-58-zCQ"/>
                          </constraints>
                          <userDefinedRuntimeAttributes>
                              <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                  <integer key="value" value="5"/>
                              </userDefinedRuntimeAttribute>
                          </userDefinedRuntimeAttributes>
                      </view>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="睡眠" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tmw-eU-Rjp">
                          <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="清醒" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KAq-ev-Fm5">
                          <rect key="frame" x="172.5" y="238.5" width="26" height="18.5"/>
                          <constraints>
                              <constraint firstAttribute="width" relation="lessThanOrEqual" constant="90" id="cpH-Ap-jl0"/>
                          </constraints>
                          <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                          <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="2021.12.11" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XkO-0V-fbI">
                          <rect key="frame" x="372" 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="bY9-aV-9qN" customClass="BarChartView" customModule="Charts">
                          <rect key="frame" x="0.0" y="44" width="437" height="182.5"/>
                          <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 firstItem="xwt-pn-UTA" firstAttribute="leading" secondItem="xHU-D2-zgo" secondAttribute="trailing" constant="5" id="1Xw-BM-636"/>
                  <constraint firstItem="KAq-ev-Fm5" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="0.85" id="3zT-xH-UvV"/>
                  <constraint firstItem="xwt-pn-UTA" firstAttribute="centerY" secondItem="xHU-D2-zgo" secondAttribute="centerY" id="3zf-9V-tGR"/>
                  <constraint firstItem="bY9-aV-9qN" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="4dT-I5-KDm"/>
                  <constraint firstAttribute="bottom" secondItem="KvJ-hg-AMn" secondAttribute="bottom" constant="38" id="87o-BR-bYx"/>
                  <constraint firstAttribute="trailing" secondItem="bY9-aV-9qN" secondAttribute="trailing" id="8AP-SH-tPo"/>
                  <constraint firstItem="KAq-ev-Fm5" firstAttribute="centerY" secondItem="KvJ-hg-AMn" secondAttribute="centerY" id="8jZ-aa-nFq"/>
                  <constraint firstItem="X6C-Bt-uoo" firstAttribute="centerY" secondItem="zje-UF-wix" secondAttribute="centerY" id="Co7-Om-0nX"/>
                  <constraint firstItem="XkO-0V-fbI" firstAttribute="centerY" secondItem="Tmw-eU-Rjp" secondAttribute="centerY" id="DTQ-fX-NSj"/>
                  <constraint firstItem="MQj-fy-Wkg" firstAttribute="centerY" secondItem="KAq-ev-Fm5" secondAttribute="centerY" id="GFI-Zd-aGP"/>
                  <constraint firstAttribute="bottom" secondItem="xwt-pn-UTA" secondAttribute="bottom" constant="38" id="GQE-wG-wXg"/>
                  <constraint firstItem="E0P-cX-gbt" firstAttribute="centerX" secondItem="MQj-fy-Wkg" secondAttribute="centerX" constant="-2" id="IeO-ct-GHn"/>
                  <constraint firstItem="zje-UF-wix" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="6" id="Isb-sq-XmW"/>
                  <constraint firstItem="nML-ID-9WV" firstAttribute="centerX" secondItem="xwt-pn-UTA" secondAttribute="centerX" constant="-2" id="NVb-Og-ndg"/>
                  <constraint firstItem="xwt-pn-UTA" firstAttribute="centerY" secondItem="KvJ-hg-AMn" secondAttribute="centerY" id="Tae-x8-qdk"/>
                  <constraint firstAttribute="bottom" secondItem="KAq-ev-Fm5" secondAttribute="bottom" constant="38" id="U4c-3i-EAe"/>
                  <constraint firstItem="KAq-ev-Fm5" firstAttribute="centerY" secondItem="WF3-D9-gJw" secondAttribute="centerY" id="Up2-oX-VxU"/>
                  <constraint firstItem="xwt-pn-UTA" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="1.325" id="UyF-p1-oce"/>
                  <constraint firstItem="Tmw-eU-Rjp" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="VUs-Nl-gMe"/>
                  <constraint firstItem="MQj-fy-Wkg" firstAttribute="leading" secondItem="dU0-xM-Dgz" secondAttribute="trailing" constant="5" id="Vpw-dq-ebu"/>
                  <constraint firstItem="X6C-Bt-uoo" firstAttribute="centerX" secondItem="KAq-ev-Fm5" secondAttribute="centerX" constant="-2" id="W6B-CI-lH1"/>
                  <constraint firstItem="dU0-xM-Dgz" firstAttribute="centerY" secondItem="WF3-D9-gJw" secondAttribute="centerY" id="WKT-RV-2Dn"/>
                  <constraint firstItem="KAq-ev-Fm5" firstAttribute="leading" secondItem="WF3-D9-gJw" secondAttribute="trailing" constant="5" id="Xdf-Mh-YhK"/>
                  <constraint firstAttribute="bottom" secondItem="MQj-fy-Wkg" secondAttribute="bottom" constant="38" id="YUs-Gs-Cuk"/>
                  <constraint firstItem="xHU-D2-zgo" firstAttribute="centerY" secondItem="KvJ-hg-AMn" secondAttribute="centerY" id="Yj1-kO-JzM"/>
                  <constraint firstItem="E0P-cX-gbt" firstAttribute="centerY" secondItem="X6C-Bt-uoo" secondAttribute="centerY" id="b4G-SE-alt"/>
                  <constraint firstItem="zje-UF-wix" firstAttribute="centerX" secondItem="KvJ-hg-AMn" secondAttribute="centerX" id="bKJ-Zf-zGY"/>
                  <constraint firstAttribute="bottom" secondItem="X6C-Bt-uoo" secondAttribute="bottom" constant="8" id="bP8-v4-0Kt"/>
                  <constraint firstItem="bY9-aV-9qN" firstAttribute="top" secondItem="Tmw-eU-Rjp" secondAttribute="bottom" constant="7" id="ca6-eP-fdT"/>
                  <constraint firstItem="KAq-ev-Fm5" firstAttribute="width" relation="lessThanOrEqual" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="0.23" constant="-18" id="f9Y-p5-PvT"/>
                  <constraint firstItem="MQj-fy-Wkg" firstAttribute="width" relation="lessThanOrEqual" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="0.23" constant="-18" id="hSl-UY-aLf"/>
                  <constraint firstItem="KvJ-hg-AMn" firstAttribute="top" secondItem="bY9-aV-9qN" secondAttribute="bottom" constant="12" id="kcp-iC-l4i"/>
                  <constraint firstItem="xwt-pn-UTA" firstAttribute="width" relation="lessThanOrEqual" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="0.23" constant="-18" id="lfp-dC-Pdt"/>
                  <constraint firstAttribute="trailing" secondItem="XkO-0V-fbI" secondAttribute="trailing" constant="15" id="snU-s9-v4X"/>
                  <constraint firstItem="Tmw-eU-Rjp" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="16" id="tXw-f0-MNa"/>
                  <constraint firstItem="MQj-fy-Wkg" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="1.8" id="w5V-vn-438"/>
                  <constraint firstItem="nML-ID-9WV" firstAttribute="centerY" secondItem="zje-UF-wix" secondAttribute="centerY" id="wdx-hi-Wgs"/>
              </constraints>
              <size key="customSize" width="437" height="295"/>
              <userDefinedRuntimeAttributes>
                  <userDefinedRuntimeAttribute type="color" keyPath="layer.borderUIColor">
                      <color key="value" red="0.80000000000000004" green="0.80000000000000004" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
                  </userDefinedRuntimeAttribute>
                  <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth">
                      <integer key="value" value="1"/>
                  </userDefinedRuntimeAttribute>
                  <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                      <integer key="value" value="10"/>
                  </userDefinedRuntimeAttribute>
              </userDefinedRuntimeAttributes>
              <connections>
                  <outlet property="awakeLabel" destination="X6C-Bt-uoo" id="9eC-bd-0u4"/>
                  <outlet property="barChartView" destination="bY9-aV-9qN" id="fYb-9O-mwh"/>
                  <outlet property="dateLabel" destination="XkO-0V-fbI" id="FM4-32-eF5"/>
                  <outlet property="deepLabel" destination="E0P-cX-gbt" id="jLP-HN-76Z"/>
                  <outlet property="lengthLabel" destination="zje-UF-wix" id="caR-Fx-ToW"/>
                  <outlet property="lightLabel" destination="nML-ID-9WV" id="Ron-AP-vAf"/>
                  <outlet property="locLabel1" destination="KvJ-hg-AMn" id="Sth-9R-IJL"/>
                  <outlet property="locLabel2" destination="KAq-ev-Fm5" id="3pR-h4-yr6"/>
                  <outlet property="locLabel3" destination="xwt-pn-UTA" id="J6p-hg-LfK"/>
                  <outlet property="locLabel4" destination="MQj-fy-Wkg" id="r6B-u2-H4C"/>
              </connections>
              <point key="canvasLocation" x="483.33333333333337" y="137.61160714285714"/>
          </collectionViewCell>
      </objects>
      <resources>
          <systemColor name="systemBackgroundColor">
              <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
          </systemColor>
      </resources>
  </document>