LearninglistTableViewCell.xib 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="LearninglistTableViewCell" rowHeight="76" id="KGk-i7-Jjw" customClass="LearninglistTableViewCell">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="76"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  19. <rect key="frame" x="0.0" y="0.0" width="320" height="75.5"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="30" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zf1-aQ-w5w">
  23. <rect key="frame" x="15" y="20" width="20" height="35.5"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="20" id="taQ-I4-n0E"/>
  26. </constraints>
  27. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  28. <nil key="textColor"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sdo-i1-78E">
  32. <rect key="frame" x="113" y="15" width="37.5" height="18"/>
  33. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  34. <color key="textColor" red="0.26666666666666666" green="0.26666666666666666" blue="0.26666666666666666" alpha="1" colorSpace="calibratedRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="poi-tO-NwD">
  38. <rect key="frame" x="113" y="44.5" width="33" height="16"/>
  39. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  40. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qBU-hD-8V9">
  44. <rect key="frame" x="270" y="0.0" width="50" height="75.5"/>
  45. <constraints>
  46. <constraint firstAttribute="width" constant="50" id="m3B-nn-OmL"/>
  47. </constraints>
  48. <state key="normal" image="点赞"/>
  49. <state key="selected" image="点赞选择"/>
  50. <connections>
  51. <action selector="didTouchButtonLike:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="3mf-gR-0lx"/>
  52. </connections>
  53. </button>
  54. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="imagePlaceholder" translatesAutoresizingMaskIntoConstraints="NO" id="k8c-wu-dEN">
  55. <rect key="frame" x="52.5" y="15" width="45.5" height="45.5"/>
  56. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  57. <constraints>
  58. <constraint firstAttribute="width" constant="45.5" id="gQs-CZ-eJQ"/>
  59. <constraint firstAttribute="height" constant="45.5" id="oEs-nT-OYD"/>
  60. </constraints>
  61. </imageView>
  62. </subviews>
  63. <constraints>
  64. <constraint firstItem="qBU-hD-8V9" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="7qe-L6-9iZ"/>
  65. <constraint firstItem="k8c-wu-dEN" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="C7b-TP-Tao"/>
  66. <constraint firstItem="qBU-hD-8V9" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="DrN-P7-qcl"/>
  67. <constraint firstAttribute="bottom" secondItem="Zf1-aQ-w5w" secondAttribute="bottom" constant="20" id="E7V-eX-9dq"/>
  68. <constraint firstItem="Sdo-i1-78E" firstAttribute="leading" secondItem="k8c-wu-dEN" secondAttribute="trailing" constant="15" id="MNJ-hK-1Q1"/>
  69. <constraint firstItem="Zf1-aQ-w5w" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="20" id="NyS-sa-MfU"/>
  70. <constraint firstAttribute="bottom" secondItem="k8c-wu-dEN" secondAttribute="bottom" constant="15" id="U7J-mZ-cHw"/>
  71. <constraint firstAttribute="trailing" secondItem="qBU-hD-8V9" secondAttribute="trailing" id="ZsW-qI-hZW"/>
  72. <constraint firstItem="Sdo-i1-78E" firstAttribute="top" secondItem="k8c-wu-dEN" secondAttribute="top" id="dCj-ja-8Kd"/>
  73. <constraint firstAttribute="bottom" secondItem="qBU-hD-8V9" secondAttribute="bottom" id="wWd-Hy-0eO"/>
  74. <constraint firstItem="poi-tO-NwD" firstAttribute="bottom" secondItem="k8c-wu-dEN" secondAttribute="bottom" id="wjB-Ub-Nwc"/>
  75. <constraint firstItem="Zf1-aQ-w5w" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="yAe-5n-Cj8"/>
  76. <constraint firstItem="poi-tO-NwD" firstAttribute="leading" secondItem="k8c-wu-dEN" secondAttribute="trailing" constant="15" id="zOo-pT-v1Z"/>
  77. </constraints>
  78. </tableViewCellContentView>
  79. <constraints>
  80. <constraint firstItem="k8c-wu-dEN" firstAttribute="leading" secondItem="aW0-zy-SZf" secondAttribute="leading" constant="52.5" id="Y95-E5-4CB"/>
  81. </constraints>
  82. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  83. <connections>
  84. <outlet property="buttonLike" destination="qBU-hD-8V9" id="T9f-dE-Ddc"/>
  85. <outlet property="imageViewIcon" destination="k8c-wu-dEN" id="oe9-vy-6zJ"/>
  86. <outlet property="labelNumber" destination="Zf1-aQ-w5w" id="h2W-1P-7x9"/>
  87. <outlet property="labelTime" destination="poi-tO-NwD" id="KAK-Xn-Z8T"/>
  88. <outlet property="labelTitile" destination="Sdo-i1-78E" id="Kje-4s-P7G"/>
  89. </connections>
  90. <point key="canvasLocation" x="137.59999999999999" y="168.21589205397302"/>
  91. </tableViewCell>
  92. </objects>
  93. <resources>
  94. <image name="imagePlaceholder" width="1024" height="1024"/>
  95. <image name="点赞" width="18" height="18"/>
  96. <image name="点赞选择" width="18" height="18"/>
  97. </resources>
  98. </document>