HRReportCell.xib
12.5 KB
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
<?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="HRReportCell" customModule="Twear" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="408" height="248"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="408" height="248"/>
<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="Ncf-2Q-IMM">
<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="MOL-Ne-ts1">
<rect key="frame" x="343" 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>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="平均心率" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kGX-iD-4k0">
<rect key="frame" x="174" y="189" 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="Mba-d0-3zl">
<rect key="frame" x="174" y="205" 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="O6X-V6-Yem">
<rect key="frame" x="33.5" y="205" 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="3H9-Wq-AYm">
<rect key="frame" x="317" y="189" 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="RnJ-sN-Rk8">
<rect key="frame" x="317" y="205" width="60" height="35"/>
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="25"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mPV-zD-EeO" customClass="LineChartView" customModule="Charts">
<rect key="frame" x="0.0" y="44" width="408" height="133"/>
<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="MRk-XL-TeO">
<rect key="frame" x="31" y="189" 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>
</subviews>
</view>
<viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="O6X-V6-Yem" firstAttribute="centerX" secondItem="MRk-XL-TeO" secondAttribute="centerX" id="1Ff-2D-Ijz"/>
<constraint firstItem="3H9-Wq-AYm" firstAttribute="centerY" secondItem="kGX-iD-4k0" secondAttribute="centerY" id="3V3-CD-90W"/>
<constraint firstItem="kGX-iD-4k0" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="9Hf-Nz-Y1L"/>
<constraint firstItem="MRk-XL-TeO" firstAttribute="top" secondItem="mPV-zD-EeO" secondAttribute="bottom" constant="12" id="Bmo-Fu-4yc"/>
<constraint firstItem="MRk-XL-TeO" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="0.3" id="Bwn-0n-JKU"/>
<constraint firstItem="RnJ-sN-Rk8" firstAttribute="centerX" secondItem="3H9-Wq-AYm" secondAttribute="centerX" id="Ena-UG-fYf"/>
<constraint firstItem="mPV-zD-EeO" firstAttribute="top" secondItem="Ncf-2Q-IMM" secondAttribute="bottom" constant="7" id="Fem-5Y-ED2"/>
<constraint firstItem="MOL-Ne-ts1" firstAttribute="centerY" secondItem="Ncf-2Q-IMM" secondAttribute="centerY" id="H6t-0K-EcV"/>
<constraint firstItem="Mba-d0-3zl" firstAttribute="centerX" secondItem="kGX-iD-4k0" secondAttribute="centerX" id="HJj-Ql-LPb"/>
<constraint firstItem="Ncf-2Q-IMM" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="16" id="J5w-1k-wlH"/>
<constraint firstAttribute="trailing" secondItem="MOL-Ne-ts1" secondAttribute="trailing" constant="15" id="K46-B4-MDY"/>
<constraint firstItem="kGX-iD-4k0" firstAttribute="centerY" secondItem="MRk-XL-TeO" secondAttribute="centerY" id="PFI-WH-6Rp"/>
<constraint firstItem="Mba-d0-3zl" firstAttribute="centerY" secondItem="O6X-V6-Yem" secondAttribute="centerY" id="S9Z-cD-eVW"/>
<constraint firstItem="3H9-Wq-AYm" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="1.7" id="SKY-O8-e6i"/>
<constraint firstItem="mPV-zD-EeO" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="WX9-lH-7FH"/>
<constraint firstItem="RnJ-sN-Rk8" firstAttribute="centerY" secondItem="Mba-d0-3zl" secondAttribute="centerY" id="Wz9-08-8IT"/>
<constraint firstItem="Ncf-2Q-IMM" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="Xqv-iY-oqF"/>
<constraint firstAttribute="trailing" secondItem="mPV-zD-EeO" secondAttribute="trailing" id="c4g-b7-O2E"/>
<constraint firstAttribute="bottom" secondItem="O6X-V6-Yem" secondAttribute="bottom" constant="8" id="tYH-uE-y98"/>
<constraint firstAttribute="bottom" secondItem="MRk-XL-TeO" secondAttribute="bottom" constant="38" id="yMf-4a-VxS"/>
</constraints>
<size key="customSize" width="408" height="248"/>
<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="avgHrLabel" destination="Mba-d0-3zl" id="by9-yx-D7x"/>
<outlet property="dateLabel" destination="MOL-Ne-ts1" id="v1d-Kr-qCa"/>
<outlet property="lineChartView" destination="mPV-zD-EeO" id="NFn-q0-JwE"/>
<outlet property="maxHrLabel" destination="O6X-V6-Yem" id="ECa-vF-MzX"/>
<outlet property="minHrLabel" destination="RnJ-sN-Rk8" id="WkJ-RS-Xl1"/>
</connections>
<point key="canvasLocation" x="397.10144927536237" y="121.875"/>
</collectionViewCell>
</objects>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>