PersonListCell.xib 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="17125"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="217" id="KGk-i7-Jjw" customClass="PersonListCell" customModule="O2Platform" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="358" height="217"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="358" height="217"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="参会人员" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lnH-CK-9RK">
  22. <rect key="frame" x="16" y="8" width="70" height="33"/>
  23. <constraints>
  24. <constraint firstAttribute="width" constant="70" id="08s-QG-rSk"/>
  25. </constraints>
  26. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="17"/>
  27. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="2OX-iE-NTe">
  31. <rect key="frame" x="16" y="49" width="326" height="160"/>
  32. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="160" id="XoV-hT-rK0"/>
  35. </constraints>
  36. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="gq1-cb-093">
  37. <size key="itemSize" width="128" height="128"/>
  38. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  39. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  40. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  41. </collectionViewFlowLayout>
  42. </collectionView>
  43. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="ovF-y1-JL7">
  44. <rect key="frame" x="203" y="8" width="150" height="0.0"/>
  45. <subviews>
  46. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kuV-Uq-7xO">
  47. <rect key="frame" x="150" y="0.0" width="0.0" height="29"/>
  48. <color key="backgroundColor" systemColor="linkColor"/>
  49. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  50. <state key="normal" title="接受邀请">
  51. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  52. </state>
  53. <userDefinedRuntimeAttributes>
  54. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  55. <real key="value" value="5"/>
  56. </userDefinedRuntimeAttribute>
  57. </userDefinedRuntimeAttributes>
  58. <connections>
  59. <action selector="acceptAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="i3G-dO-7cR"/>
  60. </connections>
  61. </button>
  62. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="be9-f6-VLd">
  63. <rect key="frame" x="150" y="0.0" width="0.0" height="29"/>
  64. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  65. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  66. <state key="normal" title="拒绝邀请">
  67. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. </state>
  69. <userDefinedRuntimeAttributes>
  70. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  71. <real key="value" value="5"/>
  72. </userDefinedRuntimeAttribute>
  73. </userDefinedRuntimeAttributes>
  74. <connections>
  75. <action selector="rejectAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="mF8-eq-4s7"/>
  76. </connections>
  77. </button>
  78. </subviews>
  79. <constraints>
  80. <constraint firstAttribute="width" constant="150" id="Bqh-cs-1EW"/>
  81. </constraints>
  82. </stackView>
  83. </subviews>
  84. <constraints>
  85. <constraint firstItem="ovF-y1-JL7" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="8" id="4bi-ji-x4a"/>
  86. <constraint firstAttribute="trailing" secondItem="ovF-y1-JL7" secondAttribute="trailing" constant="5" id="SHq-x9-674"/>
  87. <constraint firstAttribute="bottom" secondItem="2OX-iE-NTe" secondAttribute="bottom" constant="8" id="d06-9u-nAw"/>
  88. <constraint firstItem="lnH-CK-9RK" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="8" id="oGa-wz-cAK"/>
  89. <constraint firstItem="lnH-CK-9RK" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="rvU-uX-RMg"/>
  90. <constraint firstAttribute="trailing" secondItem="2OX-iE-NTe" secondAttribute="trailing" constant="16" id="uhU-op-V59"/>
  91. <constraint firstItem="2OX-iE-NTe" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="utH-QP-4sn"/>
  92. <constraint firstItem="2OX-iE-NTe" firstAttribute="top" secondItem="lnH-CK-9RK" secondAttribute="bottom" constant="8" id="w3M-sB-0gU"/>
  93. </constraints>
  94. </tableViewCellContentView>
  95. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  96. <connections>
  97. <outlet property="acceptBtn" destination="kuV-Uq-7xO" id="UqA-fA-Y0U"/>
  98. <outlet property="cellTitle" destination="lnH-CK-9RK" id="rQt-0v-XEp"/>
  99. <outlet property="personsView" destination="2OX-iE-NTe" id="a9z-hW-BjQ"/>
  100. <outlet property="rejectBtn" destination="be9-f6-VLd" id="vIT-3E-6Pz"/>
  101. </connections>
  102. <point key="canvasLocation" x="52.173913043478265" y="210.60267857142856"/>
  103. </tableViewCell>
  104. </objects>
  105. <resources>
  106. <systemColor name="linkColor">
  107. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  108. </systemColor>
  109. <systemColor name="systemBackgroundColor">
  110. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  111. </systemColor>
  112. </resources>
  113. </document>