RQTimeSingleCell.xib 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="RQTimeSingleCell">
  13. <rect key="frame" x="0.0" y="0.0" width="90" height="120"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="90" height="120"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="理论计时" translatesAutoresizingMaskIntoConstraints="NO" id="lbJ-UI-VVZ">
  20. <rect key="frame" x="8" y="8" width="74" height="82.666666666666671"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="lbJ-UI-VVZ" secondAttribute="height" multiplier="104:116" id="zLQ-Ld-Upx"/>
  23. </constraints>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="理论计时" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="edm-3d-qoB">
  26. <rect key="frame" x="8" y="82.666666666666671" width="74" height="18"/>
  27. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
  28. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. </subviews>
  32. </view>
  33. <constraints>
  34. <constraint firstAttribute="trailing" secondItem="lbJ-UI-VVZ" secondAttribute="trailing" constant="8" id="4Zm-zT-0de"/>
  35. <constraint firstItem="lbJ-UI-VVZ" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="8" id="OeV-9j-C3R"/>
  36. <constraint firstAttribute="trailing" secondItem="edm-3d-qoB" secondAttribute="trailing" constant="8" id="Ppd-cL-3aK"/>
  37. <constraint firstItem="edm-3d-qoB" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="8" id="VzB-C1-kel"/>
  38. <constraint firstItem="edm-3d-qoB" firstAttribute="top" secondItem="lbJ-UI-VVZ" secondAttribute="bottom" constant="-8" id="Xh4-AN-lGE"/>
  39. <constraint firstItem="lbJ-UI-VVZ" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="8" id="j22-Zt-n7v"/>
  40. </constraints>
  41. <connections>
  42. <outlet property="myTimeIcon" destination="lbJ-UI-VVZ" id="sbF-Bt-mom"/>
  43. <outlet property="myTimeLabel" destination="edm-3d-qoB" id="iWR-gc-z4C"/>
  44. </connections>
  45. <point key="canvasLocation" x="55" y="42"/>
  46. </collectionViewCell>
  47. </objects>
  48. <resources>
  49. <image name="理论计时" width="116" height="104"/>
  50. </resources>
  51. </document>