ApplicantCell.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="13173"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="applicant" id="iX2-Fy-73j" customClass="ApplicantCell">
  15. <rect key="frame" x="0.0" y="0.0" width="374" height="61"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="374" height="61"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="6Yc-hJ-G65">
  22. <rect key="frame" x="10" y="10" width="40" height="40"/>
  23. <color key="backgroundColor" red="0.93817096950000001" green="0.51247107979999995" blue="0.27212125059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="40" id="Oz9-Zt-2OT"/>
  26. <constraint firstAttribute="height" constant="40" id="uEE-Y1-94M"/>
  27. </constraints>
  28. </imageView>
  29. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zJO-pd-BEn">
  30. <rect key="frame" x="172.5" y="23" width="15" height="15"/>
  31. <color key="backgroundColor" red="0.0" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="15" id="5TF-69-59s"/>
  34. <constraint firstAttribute="width" constant="15" id="FyP-dy-A01"/>
  35. </constraints>
  36. </imageView>
  37. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="oX2-Qb-3ri">
  38. <rect key="frame" x="192.5" y="23" width="31" height="15"/>
  39. <color key="backgroundColor" red="1" green="0.89177794349999995" blue="0.4307440495" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="15" id="3cV-k8-gJn"/>
  42. <constraint firstAttribute="width" constant="31" id="HES-ha-LxG"/>
  43. </constraints>
  44. </imageView>
  45. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ubI-5m-A4y">
  46. <rect key="frame" x="329" y="20" width="35" height="20"/>
  47. <constraints>
  48. <constraint firstAttribute="width" constant="35" id="gWE-Y0-Ngc"/>
  49. <constraint firstAttribute="height" constant="20" id="weF-Uv-kFr"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  52. <state key="normal" title="同意">
  53. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  54. </state>
  55. <connections>
  56. <action selector="agreeClick:" destination="iX2-Fy-73j" eventType="touchUpInside" id="04p-mx-gGG"/>
  57. </connections>
  58. </button>
  59. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Taylor Swift 1989" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="reF-kA-K5e">
  60. <rect key="frame" x="55" y="20.5" width="112.5" height="20"/>
  61. <constraints>
  62. <constraint firstAttribute="height" constant="20" id="zjd-7N-WqF"/>
  63. </constraints>
  64. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  65. <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
  66. <nil key="highlightedColor"/>
  67. </label>
  68. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8Nq-Mr-4aI">
  69. <rect key="frame" x="289" y="20" width="35" height="20"/>
  70. <color key="backgroundColor" red="0.99563187360000005" green="0.90223044159999999" blue="0.0040037017319999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  71. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  72. <state key="normal" title="拒绝">
  73. <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  74. </state>
  75. <connections>
  76. <action selector="refuseClick:" destination="iX2-Fy-73j" eventType="touchUpInside" id="1XP-tM-rDv"/>
  77. </connections>
  78. </button>
  79. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3og-RC-O0V">
  80. <rect key="frame" x="229" y="20" width="55" height="20"/>
  81. <color key="backgroundColor" red="0.59409624338150024" green="0.80026954412460327" blue="0.0043062819167971611" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  82. <constraints>
  83. <constraint firstAttribute="width" constant="55" id="sQq-hH-39E"/>
  84. </constraints>
  85. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  86. <state key="normal" title="观看直播">
  87. <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  88. </state>
  89. <connections>
  90. <action selector="viewLiving:" destination="iX2-Fy-73j" eventType="touchUpInside" id="SIV-xS-CAZ"/>
  91. </connections>
  92. </button>
  93. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播中" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pqj-K3-nPz">
  94. <rect key="frame" x="10" y="38" width="40" height="12"/>
  95. <color key="backgroundColor" red="0.5940962434" green="0.80026954409999995" blue="0.0043062819169999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  96. <constraints>
  97. <constraint firstAttribute="height" constant="12" id="A8K-xb-PG6"/>
  98. </constraints>
  99. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  100. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  101. <nil key="highlightedColor"/>
  102. </label>
  103. </subviews>
  104. </view>
  105. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  106. <constraints>
  107. <constraint firstAttribute="trailing" secondItem="ubI-5m-A4y" secondAttribute="trailing" constant="10" id="1UE-Oa-hKz"/>
  108. <constraint firstItem="oX2-Qb-3ri" firstAttribute="leading" secondItem="zJO-pd-BEn" secondAttribute="trailing" constant="5" id="42G-Lh-4lk"/>
  109. <constraint firstItem="ubI-5m-A4y" firstAttribute="leading" secondItem="8Nq-Mr-4aI" secondAttribute="trailing" constant="5" id="870-uw-Yd1"/>
  110. <constraint firstItem="reF-kA-K5e" firstAttribute="centerY" secondItem="6Yc-hJ-G65" secondAttribute="centerY" id="BK5-GY-68P"/>
  111. <constraint firstItem="8Nq-Mr-4aI" firstAttribute="leading" secondItem="3og-RC-O0V" secondAttribute="trailing" constant="5" id="CPa-kj-VaR"/>
  112. <constraint firstItem="pqj-K3-nPz" firstAttribute="bottom" secondItem="6Yc-hJ-G65" secondAttribute="bottom" id="FSp-86-dDL"/>
  113. <constraint firstItem="ubI-5m-A4y" firstAttribute="top" secondItem="3og-RC-O0V" secondAttribute="top" id="I4X-VX-cfL"/>
  114. <constraint firstItem="8Nq-Mr-4aI" firstAttribute="top" secondItem="3og-RC-O0V" secondAttribute="top" id="M2V-md-Zqf"/>
  115. <constraint firstItem="pqj-K3-nPz" firstAttribute="trailing" secondItem="6Yc-hJ-G65" secondAttribute="trailing" id="Y1i-xi-Zzc"/>
  116. <constraint firstItem="ubI-5m-A4y" firstAttribute="centerY" secondItem="6Yc-hJ-G65" secondAttribute="centerY" id="fNP-xV-vzA"/>
  117. <constraint firstItem="ubI-5m-A4y" firstAttribute="bottom" secondItem="3og-RC-O0V" secondAttribute="bottom" id="fdy-ZO-Xjs"/>
  118. <constraint firstItem="pqj-K3-nPz" firstAttribute="leading" secondItem="6Yc-hJ-G65" secondAttribute="leading" id="guV-Go-BfU"/>
  119. <constraint firstItem="8Nq-Mr-4aI" firstAttribute="bottom" secondItem="3og-RC-O0V" secondAttribute="bottom" id="h6s-mM-qg6"/>
  120. <constraint firstItem="zJO-pd-BEn" firstAttribute="leading" secondItem="reF-kA-K5e" secondAttribute="trailing" constant="5" id="kft-5E-Oui"/>
  121. <constraint firstItem="reF-kA-K5e" firstAttribute="leading" secondItem="6Yc-hJ-G65" secondAttribute="trailing" constant="5" id="of3-NN-dFA"/>
  122. <constraint firstItem="6Yc-hJ-G65" firstAttribute="top" secondItem="iX2-Fy-73j" secondAttribute="top" constant="10" id="pp9-yX-opb"/>
  123. <constraint firstItem="zJO-pd-BEn" firstAttribute="centerY" secondItem="reF-kA-K5e" secondAttribute="centerY" id="prk-u0-FgD"/>
  124. <constraint firstItem="3og-RC-O0V" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="oX2-Qb-3ri" secondAttribute="trailing" constant="5" id="q23-fq-7zq"/>
  125. <constraint firstItem="oX2-Qb-3ri" firstAttribute="centerY" secondItem="zJO-pd-BEn" secondAttribute="centerY" id="sYt-9H-Yur"/>
  126. <constraint firstItem="6Yc-hJ-G65" firstAttribute="leading" secondItem="iX2-Fy-73j" secondAttribute="leading" constant="10" id="siA-b7-ooa"/>
  127. <constraint firstItem="ubI-5m-A4y" firstAttribute="width" secondItem="8Nq-Mr-4aI" secondAttribute="width" id="tMa-yP-FEm"/>
  128. </constraints>
  129. <size key="customSize" width="374" height="61"/>
  130. <connections>
  131. <outlet property="applicantAgreeBtn" destination="ubI-5m-A4y" id="1G5-Wn-r0b"/>
  132. <outlet property="applicantGradeImg" destination="oX2-Qb-3ri" id="vTx-qd-sY3"/>
  133. <outlet property="applicantHeadImg" destination="6Yc-hJ-G65" id="hIF-s3-6uC"/>
  134. <outlet property="applicantLivingBtn" destination="3og-RC-O0V" id="Db5-zr-ZH0"/>
  135. <outlet property="applicantLivingLbl" destination="pqj-K3-nPz" id="FnH-JW-3jS"/>
  136. <outlet property="applicantNickNameLbl" destination="reF-kA-K5e" id="Rp1-B9-WUT"/>
  137. <outlet property="applicantRefuseBtn" destination="8Nq-Mr-4aI" id="Sli-a6-Vum"/>
  138. <outlet property="applicantSexImg" destination="zJO-pd-BEn" id="EJz-mN-8yf"/>
  139. </connections>
  140. <point key="canvasLocation" x="-48" y="-83.5"/>
  141. </collectionViewCell>
  142. </objects>
  143. </document>