StepReportCell.xib
11 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
<?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="StepReportCell" customModule="Twear" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="346"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="375" height="346"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<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="0mJ-In-H4e">
<rect key="frame" x="19" y="287" width="150" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="150" id="pJB-2J-2Qd"/>
</constraints>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<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="WPp-Zo-bAH">
<rect key="frame" x="206.5" y="287" width="150" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="150" id="eN1-iw-4cf"/>
</constraints>
<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="xnE-XV-yHX">
<rect key="frame" x="251.5" y="303" 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="Tug-8e-KgC">
<rect key="frame" x="66" y="303" 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="CCr-kv-z6V">
<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="CaS-ag-eXM">
<rect key="frame" x="310" 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="YCf-eT-ago" customClass="LineChartView" customModule="Charts">
<rect key="frame" x="0.0" y="44" width="375" height="231"/>
<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 firstAttribute="trailing" secondItem="CaS-ag-eXM" secondAttribute="trailing" constant="15" id="1EF-pJ-cof"/>
<constraint firstItem="CCr-kv-z6V" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="1i6-Kb-NGX"/>
<constraint firstItem="CaS-ag-eXM" firstAttribute="centerY" secondItem="CCr-kv-z6V" secondAttribute="centerY" id="6jr-1R-twc"/>
<constraint firstItem="0mJ-In-H4e" firstAttribute="top" secondItem="YCf-eT-ago" secondAttribute="bottom" constant="12" id="BcT-0J-VSE"/>
<constraint firstItem="Tug-8e-KgC" firstAttribute="centerX" secondItem="0mJ-In-H4e" secondAttribute="centerX" id="Bxw-A4-FaX"/>
<constraint firstItem="YCf-eT-ago" firstAttribute="top" secondItem="CCr-kv-z6V" secondAttribute="bottom" constant="7" id="Cs2-Bx-K2o"/>
<constraint firstItem="WPp-Zo-bAH" firstAttribute="centerY" secondItem="0mJ-In-H4e" secondAttribute="centerY" id="FB8-aw-l3W"/>
<constraint firstItem="YCf-eT-ago" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Hu3-JL-k0u"/>
<constraint firstItem="xnE-XV-yHX" firstAttribute="centerX" secondItem="WPp-Zo-bAH" secondAttribute="centerX" id="IfW-0Y-Utv"/>
<constraint firstItem="xnE-XV-yHX" firstAttribute="centerY" secondItem="Tug-8e-KgC" secondAttribute="centerY" id="Ixc-EU-YWX"/>
<constraint firstItem="0mJ-In-H4e" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="0.5" id="MxP-ZX-YWL"/>
<constraint firstAttribute="bottom" secondItem="0mJ-In-H4e" secondAttribute="bottom" constant="38" id="Qnl-48-b3M"/>
<constraint firstAttribute="bottom" secondItem="WPp-Zo-bAH" secondAttribute="bottom" constant="38" id="g1s-b7-fMm"/>
<constraint firstAttribute="bottom" secondItem="xnE-XV-yHX" secondAttribute="bottom" constant="8" id="g7g-2b-sP7"/>
<constraint firstItem="CCr-kv-z6V" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="16" id="gxE-fD-9W3"/>
<constraint firstItem="WPp-Zo-bAH" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" multiplier="1.5" id="mKH-aj-Z9H"/>
<constraint firstAttribute="trailing" secondItem="YCf-eT-ago" secondAttribute="trailing" id="upy-yL-LqP"/>
</constraints>
<size key="customSize" width="436" height="346"/>
<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="dateLabel" destination="CaS-ag-eXM" id="3uF-eN-voa"/>
<outlet property="detailLabel" destination="WPp-Zo-bAH" id="fXA-DW-V2U"/>
<outlet property="lineChartView" destination="YCf-eT-ago" id="nrF-1H-gQJ"/>
<outlet property="stepLabel" destination="Tug-8e-KgC" id="7Cl-pe-HQx"/>
<outlet property="stepsGoalLabel" destination="xnE-XV-yHX" id="Ksw-k6-tNi"/>
</connections>
<point key="canvasLocation" x="416.66666666666669" y="154.6875"/>
</collectionViewCell>
</objects>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>