PKUserTableViewCell.xib 8.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  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. <tableViewCell contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="default" indentationWidth="10" rowHeight="50" id="KGk-i7-Jjw" customClass="PKUserTableViewCell">
  13. <rect key="frame" x="0.0" y="0.0" width="320" height="50"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="50"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wqZ-tn-Tvb">
  20. <rect key="frame" x="10" y="10" width="30" height="30"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="wqZ-tn-Tvb" secondAttribute="height" multiplier="1:1" id="6XX-FY-tSt"/>
  23. </constraints>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="昵称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qDD-pp-Ksr">
  26. <rect key="frame" x="50" y="16.5" width="29" height="17"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  28. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jMA-2d-DbD">
  32. <rect key="frame" x="240" y="8.5" width="70" height="33"/>
  33. <constraints>
  34. <constraint firstAttribute="width" constant="70" id="5Aq-S9-JpP"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  37. <state key="normal" title="发起PK" backgroundImage="com_button_btn2">
  38. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  39. </state>
  40. <connections>
  41. <action selector="pkBtnAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="gcn-Uc-LJ0"/>
  42. </connections>
  43. </button>
  44. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xLK-bO-kvp">
  45. <rect key="frame" x="40" y="49.5" width="275" height="0.5"/>
  46. <color key="backgroundColor" red="0.8359375" green="0.8359375" blue="0.8359375" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="0.5" id="Ryu-1s-7ZZ"/>
  49. </constraints>
  50. </view>
  51. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="aR1-Ow-Ooq">
  52. <rect key="frame" x="105" y="16" width="38" height="18"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="18" id="GcN-Xx-5XG"/>
  55. <constraint firstAttribute="width" constant="38" id="vKC-ub-XpT"/>
  56. </constraints>
  57. </imageView>
  58. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="dy_sex_male" translatesAutoresizingMaskIntoConstraints="NO" id="rzh-FP-1Ka">
  59. <rect key="frame" x="87" y="20" width="10" height="10"/>
  60. </imageView>
  61. </subviews>
  62. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  63. <constraints>
  64. <constraint firstItem="rzh-FP-1Ka" firstAttribute="leading" secondItem="qDD-pp-Ksr" secondAttribute="trailing" constant="8" id="4ZZ-6a-rDC"/>
  65. <constraint firstItem="xLK-bO-kvp" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="40" id="5Ap-Vc-P9c"/>
  66. <constraint firstItem="aR1-Ow-Ooq" firstAttribute="leading" secondItem="rzh-FP-1Ka" secondAttribute="trailing" constant="8" id="74I-T5-m0F"/>
  67. <constraint firstItem="wqZ-tn-Tvb" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="KaQ-ky-Qxb"/>
  68. <constraint firstItem="aR1-Ow-Ooq" firstAttribute="centerY" secondItem="rzh-FP-1Ka" secondAttribute="centerY" id="Kti-Gq-vc4"/>
  69. <constraint firstAttribute="bottom" secondItem="wqZ-tn-Tvb" secondAttribute="bottom" constant="10" id="LNT-eT-HbE"/>
  70. <constraint firstItem="jMA-2d-DbD" firstAttribute="centerY" secondItem="qDD-pp-Ksr" secondAttribute="centerY" id="MMJ-17-RRe"/>
  71. <constraint firstAttribute="trailing" secondItem="jMA-2d-DbD" secondAttribute="trailing" constant="10" id="NMZ-cf-Kmc"/>
  72. <constraint firstItem="qDD-pp-Ksr" firstAttribute="leading" secondItem="wqZ-tn-Tvb" secondAttribute="trailing" constant="10" id="bJc-b9-15y"/>
  73. <constraint firstItem="wqZ-tn-Tvb" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="bLh-Ua-ehf"/>
  74. <constraint firstAttribute="trailing" secondItem="xLK-bO-kvp" secondAttribute="trailing" constant="5" id="lTL-B1-0l4"/>
  75. <constraint firstItem="rzh-FP-1Ka" firstAttribute="centerY" secondItem="qDD-pp-Ksr" secondAttribute="centerY" id="ppx-8P-Xca"/>
  76. <constraint firstItem="qDD-pp-Ksr" firstAttribute="centerY" secondItem="wqZ-tn-Tvb" secondAttribute="centerY" id="qDc-8R-0lj"/>
  77. <constraint firstAttribute="bottom" secondItem="xLK-bO-kvp" secondAttribute="bottom" id="uIX-NC-GVa"/>
  78. </constraints>
  79. </tableViewCellContentView>
  80. <connections>
  81. <outlet property="nickname" destination="wqZ-tn-Tvb" id="L6y-kg-4Mc"/>
  82. <outlet property="pkBtn" destination="jMA-2d-DbD" id="v9u-3j-Skk"/>
  83. <outlet property="rankImgView" destination="aR1-Ow-Ooq" id="FYi-ba-sDb"/>
  84. <outlet property="sexImgView" destination="rzh-FP-1Ka" id="3Ar-rr-Td9"/>
  85. <outlet property="username" destination="qDD-pp-Ksr" id="ake-FK-vEK"/>
  86. </connections>
  87. <point key="canvasLocation" x="-27.199999999999999" y="178.11094452773614"/>
  88. </tableViewCell>
  89. </objects>
  90. <resources>
  91. <image name="com_button_btn2" width="70" height="33"/>
  92. <image name="dy_sex_male" width="10" height="10"/>
  93. </resources>
  94. </document>