Blame view

HDFwear/Home/Cell/Base.lproj/SleepCell.xib 9.71 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
  <?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="SleepCell" customModule="HDFwear" customModuleProvider="target">
              <rect key="frame" x="0.0" y="0.0" width="326" height="214"/>
              <autoresizingMask key="autoresizingMask"/>
              <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                  <rect key="frame" x="0.0" y="0.0" width="326" height="214"/>
                  <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                  <subviews>
                      <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_sleep" translatesAutoresizingMaskIntoConstraints="NO" id="b6b-Xe-bH3">
                          <rect key="frame" x="10" y="10" width="22" height="22"/>
                          <constraints>
                              <constraint firstAttribute="width" constant="22" id="Ohu-BY-VMH"/>
                              <constraint firstAttribute="height" constant="22" id="bOS-k9-IBc"/>
                          </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="Q5w-Dn-v8e">
                          <rect key="frame" x="42" y="11.5" width="279" 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="wHO-P4-sks">
                          <rect key="frame" x="10" y="42.5" width="311" height="35"/>
                          <fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
                          <nil key="textColor"/>
                          <nil key="highlightedColor"/>
                      </label>
                      <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_sleep_nodata" translatesAutoresizingMaskIntoConstraints="NO" id="VZ3-4r-MvT">
                          <rect key="frame" x="9.5" y="136.5" width="295" height="29.5"/>
                      </imageView>
                      <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1lx-1Z-BTY" customClass="BarChartView" customModule="Charts">
                          <rect key="frame" x="3" y="82.5" width="315" height="130.5"/>
                          <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                      </view>
                      <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MKb-1e-7ln">
                          <rect key="frame" x="42" y="29.5" width="279" height="16"/>
                          <constraints>
                              <constraint firstAttribute="height" constant="16" id="PTu-lP-Tvb"/>
                          </constraints>
                          <fontDescription key="fontDescription" name="PingFangSC-Light" family="PingFang SC" pointSize="11"/>
                          <nil key="textColor"/>
                          <nil key="highlightedColor"/>
                      </label>
                  </subviews>
              </view>
              <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
              <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
              <constraints>
                  <constraint firstItem="MKb-1e-7ln" firstAttribute="leading" secondItem="Q5w-Dn-v8e" secondAttribute="leading" id="00y-oj-uwV"/>
                  <constraint firstAttribute="trailing" secondItem="wHO-P4-sks" secondAttribute="trailing" constant="5" id="5P2-qg-E0X"/>
                  <constraint firstItem="Q5w-Dn-v8e" firstAttribute="centerY" secondItem="b6b-Xe-bH3" secondAttribute="centerY" id="5X3-Sx-UfS"/>
                  <constraint firstItem="VZ3-4r-MvT" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="9.5" id="69k-ns-aCZ"/>
                  <constraint firstAttribute="trailing" secondItem="1lx-1Z-BTY" secondAttribute="trailing" constant="8" id="6iw-jF-iU6"/>
                  <constraint firstAttribute="trailing" secondItem="VZ3-4r-MvT" secondAttribute="trailing" constant="21.5" id="9cC-8c-n3F"/>
                  <constraint firstItem="b6b-Xe-bH3" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="Epk-Pn-jb7"/>
                  <constraint firstItem="1lx-1Z-BTY" firstAttribute="top" secondItem="wHO-P4-sks" secondAttribute="bottom" constant="5" id="KNK-6A-d4z"/>
                  <constraint firstItem="Q5w-Dn-v8e" firstAttribute="leading" secondItem="b6b-Xe-bH3" secondAttribute="trailing" constant="10" id="RAY-FA-Cpu"/>
                  <constraint firstAttribute="trailing" secondItem="MKb-1e-7ln" secondAttribute="trailing" constant="5" id="X2n-xx-ICf"/>
                  <constraint firstItem="wHO-P4-sks" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="Xgl-A3-eru"/>
                  <constraint firstItem="wHO-P4-sks" firstAttribute="top" secondItem="MKb-1e-7ln" secondAttribute="bottom" constant="-3" id="ZAT-cF-Bld"/>
                  <constraint firstAttribute="bottom" secondItem="1lx-1Z-BTY" secondAttribute="bottom" constant="1" id="ZIf-Lg-hoP"/>
                  <constraint firstAttribute="trailing" secondItem="Q5w-Dn-v8e" secondAttribute="trailing" constant="5" id="aMl-is-qIT"/>
                  <constraint firstItem="1lx-1Z-BTY" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="3" id="cXM-hS-QIR"/>
                  <constraint firstAttribute="bottom" secondItem="VZ3-4r-MvT" secondAttribute="bottom" constant="48" id="h1q-l2-sYp"/>
                  <constraint firstItem="MKb-1e-7ln" firstAttribute="top" secondItem="Q5w-Dn-v8e" secondAttribute="bottom" constant="-1" id="iNe-ua-eXV"/>
                  <constraint firstItem="b6b-Xe-bH3" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="suU-sG-2Cg"/>
              </constraints>
              <size key="customSize" width="326" height="214"/>
              <userDefinedRuntimeAttributes>
                  <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                      <integer key="value" value="10"/>
                  </userDefinedRuntimeAttribute>
              </userDefinedRuntimeAttributes>
              <connections>
                  <outlet property="barChartView" destination="1lx-1Z-BTY" id="xA4-T5-Uwx"/>
                  <outlet property="dateLabel" destination="MKb-1e-7ln" id="2we-wu-zs9"/>
                  <outlet property="lengthLabel" destination="wHO-P4-sks" id="fyV-WE-RQY"/>
                  <outlet property="noDataImageView" destination="VZ3-4r-MvT" id="EGp-lq-M6p"/>
                  <outlet property="titleLabel" destination="Q5w-Dn-v8e" id="x8v-9J-SJF"/>
              </connections>
              <point key="canvasLocation" x="337.68115942028987" y="158.70535714285714"/>
          </collectionViewCell>
      </objects>
      <resources>
          <image name="home_sleep" width="22" height="22"/>
          <image name="home_sleep_nodata" width="139" height="29.5"/>
          <systemColor name="systemBackgroundColor">
              <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
          </systemColor>
      </resources>
  </document>