RQHomeSubPageSortCell.xib 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
  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="RQHomeSubPageSortCell">
  14. <rect key="frame" x="0.0" y="0.0" width="167" height="70"/>
  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="70"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2T9-Te-4Wo">
  21. <rect key="frame" x="0.0" y="0.0" width="167" height="70"/>
  22. <subviews>
  23. <button opaque="NO" clipsSubviews="YES" contentMode="scaleAspectFill" contentHorizontalAlignment="fill" contentVerticalAlignment="fill" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MZ4-F0-onu">
  24. <rect key="frame" x="8" y="20" width="30" height="30"/>
  25. <color key="backgroundColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="30" id="4fZ-fO-vXS"/>
  28. <constraint firstAttribute="width" secondItem="MZ4-F0-onu" secondAttribute="height" multiplier="1:1" id="NpW-ba-Kts"/>
  29. </constraints>
  30. <color key="tintColor" red="1" green="0.30196078430000001" blue="0.32549019610000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <state key="normal" title="1">
  32. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  33. </state>
  34. <userDefinedRuntimeAttributes>
  35. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  36. <integer key="value" value="15"/>
  37. </userDefinedRuntimeAttribute>
  38. <userDefinedRuntimeAttribute type="number" keyPath="titleLabel.textAlignment">
  39. <integer key="value" value="1"/>
  40. </userDefinedRuntimeAttribute>
  41. </userDefinedRuntimeAttributes>
  42. </button>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="练习一" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ON2-mT-T1a">
  44. <rect key="frame" x="46" y="25" width="98" height="20.5"/>
  45. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  46. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="rightArrow" translatesAutoresizingMaskIntoConstraints="NO" id="i6S-Iq-5qF">
  50. <rect key="frame" x="152" y="28.5" width="7" height="13"/>
  51. <constraints>
  52. <constraint firstAttribute="width" secondItem="i6S-Iq-5qF" secondAttribute="height" multiplier="7:13" id="HaC-bN-YKY"/>
  53. </constraints>
  54. </imageView>
  55. </subviews>
  56. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  57. <constraints>
  58. <constraint firstItem="MZ4-F0-onu" firstAttribute="leading" secondItem="2T9-Te-4Wo" secondAttribute="leading" constant="8" id="5BU-OU-dQy"/>
  59. <constraint firstItem="MZ4-F0-onu" firstAttribute="centerY" secondItem="2T9-Te-4Wo" secondAttribute="centerY" id="NaO-l7-64I"/>
  60. <constraint firstItem="i6S-Iq-5qF" firstAttribute="leading" secondItem="ON2-mT-T1a" secondAttribute="trailing" constant="8" id="RKN-Dn-hBH"/>
  61. <constraint firstItem="ON2-mT-T1a" firstAttribute="leading" secondItem="MZ4-F0-onu" secondAttribute="trailing" constant="8" id="ep9-kV-Fdc"/>
  62. <constraint firstAttribute="trailing" secondItem="i6S-Iq-5qF" secondAttribute="trailing" constant="8" id="g9S-8w-1ku"/>
  63. <constraint firstItem="i6S-Iq-5qF" firstAttribute="centerY" secondItem="2T9-Te-4Wo" secondAttribute="centerY" id="lWJ-3g-TG4"/>
  64. <constraint firstItem="ON2-mT-T1a" firstAttribute="centerY" secondItem="2T9-Te-4Wo" secondAttribute="centerY" id="okG-FK-5vB"/>
  65. </constraints>
  66. </view>
  67. </subviews>
  68. </view>
  69. <constraints>
  70. <constraint firstAttribute="trailing" secondItem="2T9-Te-4Wo" secondAttribute="trailing" id="0WU-sM-CWD"/>
  71. <constraint firstItem="2T9-Te-4Wo" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="QF7-7C-suA"/>
  72. <constraint firstAttribute="bottom" secondItem="2T9-Te-4Wo" secondAttribute="bottom" id="SfY-fs-lxM"/>
  73. <constraint firstItem="2T9-Te-4Wo" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="WeU-5I-xk7"/>
  74. </constraints>
  75. <userDefinedRuntimeAttributes>
  76. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowRadius">
  77. <integer key="value" value="3"/>
  78. </userDefinedRuntimeAttribute>
  79. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowOpacity">
  80. <integer key="value" value="1"/>
  81. </userDefinedRuntimeAttribute>
  82. <userDefinedRuntimeAttribute type="size" keyPath="layer.shadowOffset">
  83. <size key="value" width="0.0" height="0.0"/>
  84. </userDefinedRuntimeAttribute>
  85. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="NO"/>
  86. </userDefinedRuntimeAttributes>
  87. <connections>
  88. <outlet property="myContentView" destination="2T9-Te-4Wo" id="OwD-eN-N4V"/>
  89. <outlet property="myTitleLabel" destination="ON2-mT-T1a" id="KR1-Gc-l07"/>
  90. <outlet property="numBtn" destination="MZ4-F0-onu" id="xKz-90-XzQ"/>
  91. </connections>
  92. <point key="canvasLocation" x="-39.855072463768117" y="124.55357142857142"/>
  93. </collectionViewCell>
  94. </objects>
  95. <resources>
  96. <image name="rightArrow" width="7" height="13"/>
  97. <systemColor name="systemBackgroundColor">
  98. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. </systemColor>
  100. </resources>
  101. </document>