RQSpecialPracticeCell.xib 6.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="RQSpecialPracticeCell">
  14. <rect key="frame" x="0.0" y="0.0" width="167" height="103"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="167" height="103"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="86f-1A-xdU">
  21. <rect key="frame" x="0.0" y="0.0" width="167" height="103"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="章节练习背景" translatesAutoresizingMaskIntoConstraints="NO" id="nVe-5U-aVt">
  24. <rect key="frame" x="0.0" y="0.0" width="167" height="103"/>
  25. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="章节练习" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dU9-W5-ZVv">
  28. <rect key="frame" x="16" y="16" width="73.5" height="21"/>
  29. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  30. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="共5章" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="i23-wI-jSc">
  34. <rect key="frame" x="16" y="37" width="38" height="17"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  36. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. </subviews>
  40. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  41. <constraints>
  42. <constraint firstItem="i23-wI-jSc" firstAttribute="leading" secondItem="86f-1A-xdU" secondAttribute="leading" constant="16" id="3FP-W6-foa"/>
  43. <constraint firstAttribute="bottom" secondItem="nVe-5U-aVt" secondAttribute="bottom" id="6kP-Fo-Lml"/>
  44. <constraint firstItem="nVe-5U-aVt" firstAttribute="leading" secondItem="86f-1A-xdU" secondAttribute="leading" id="PYq-Yw-lGN"/>
  45. <constraint firstAttribute="trailing" secondItem="nVe-5U-aVt" secondAttribute="trailing" id="Ucl-zo-EDf"/>
  46. <constraint firstItem="dU9-W5-ZVv" firstAttribute="leading" secondItem="86f-1A-xdU" secondAttribute="leading" constant="16" id="fYL-5Y-RGW"/>
  47. <constraint firstItem="nVe-5U-aVt" firstAttribute="top" secondItem="86f-1A-xdU" secondAttribute="top" id="iXl-zK-XlH"/>
  48. <constraint firstItem="dU9-W5-ZVv" firstAttribute="top" secondItem="86f-1A-xdU" secondAttribute="top" constant="16" id="le3-Ne-j6s"/>
  49. <constraint firstItem="i23-wI-jSc" firstAttribute="top" secondItem="dU9-W5-ZVv" secondAttribute="bottom" id="wa3-xk-63c"/>
  50. </constraints>
  51. </view>
  52. </subviews>
  53. </view>
  54. <constraints>
  55. <constraint firstAttribute="trailing" secondItem="86f-1A-xdU" secondAttribute="trailing" id="5bU-sB-2ei"/>
  56. <constraint firstItem="86f-1A-xdU" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="NJy-rv-a7n"/>
  57. <constraint firstItem="86f-1A-xdU" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="cc3-gZ-tPq"/>
  58. <constraint firstAttribute="bottom" secondItem="86f-1A-xdU" secondAttribute="bottom" id="mKd-lJ-M71"/>
  59. </constraints>
  60. <connections>
  61. <outlet property="myBgImageView" destination="nVe-5U-aVt" id="aJa-RA-nYu"/>
  62. <outlet property="mySubTitleLabel" destination="i23-wI-jSc" id="dqq-EA-qq0"/>
  63. <outlet property="myTitleLabel" destination="dU9-W5-ZVv" id="sOj-Ni-hax"/>
  64. </connections>
  65. <point key="canvasLocation" x="-20" y="154"/>
  66. </collectionViewCell>
  67. </objects>
  68. <resources>
  69. <image name="章节练习背景" width="167" height="103"/>
  70. <systemColor name="systemBackgroundColor">
  71. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  72. </systemColor>
  73. </resources>
  74. </document>