MedalCell.xib
4.78 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
<?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="MedalCell" customModule="HDFwear" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="181" height="217"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="181" height="217"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="单日1万步" translatesAutoresizingMaskIntoConstraints="NO" id="tAs-Qd-nOH">
<rect key="frame" x="0.0" y="0.0" width="181" height="187"/>
</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="pX8-yk-AfD">
<rect key="frame" x="3" y="187" width="175" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="ZpQ-pp-dEk"/>
</constraints>
<attributedString key="attributedText">
<fragment content=" ">
<attributes>
<font key="NSFont" size="12" name="PingFangSC-Regular"/>
<paragraphStyle key="NSParagraphStyle" alignment="center" lineBreakMode="wordWrapping" baseWritingDirection="natural" maximumLineHeight="14" tighteningFactorForTruncation="0.0" allowsDefaultTighteningForTruncation="NO"/>
</attributes>
</fragment>
</attributedString>
<nil key="highlightedColor"/>
</label>
</subviews>
</view>
<viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
<constraints>
<constraint firstItem="tAs-Qd-nOH" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="2q8-Z6-jSH"/>
<constraint firstAttribute="trailing" secondItem="tAs-Qd-nOH" secondAttribute="trailing" id="73A-rR-0uz"/>
<constraint firstItem="pX8-yk-AfD" firstAttribute="top" secondItem="tAs-Qd-nOH" secondAttribute="bottom" id="EGe-Br-M8b"/>
<constraint firstAttribute="trailing" secondItem="pX8-yk-AfD" secondAttribute="trailing" constant="3" id="Ggj-dX-x3N"/>
<constraint firstAttribute="bottom" secondItem="pX8-yk-AfD" secondAttribute="bottom" id="H2y-fe-6vf"/>
<constraint firstItem="pX8-yk-AfD" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="3" id="Uoj-SY-eec"/>
<constraint firstItem="tAs-Qd-nOH" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="neC-QV-DGT"/>
</constraints>
<size key="customSize" width="181" height="217"/>
<connections>
<outlet property="detailLabel" destination="pX8-yk-AfD" id="sde-FD-THt"/>
<outlet property="imageView" destination="tAs-Qd-nOH" id="Afx-ei-cDw"/>
</connections>
<point key="canvasLocation" x="226.81159420289856" y="95.424107142857139"/>
</collectionViewCell>
</objects>
<resources>
<image name="单日1万步" width="200" height="200"/>
</resources>
</document>