FriendsListCell.xib 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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="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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="" id="dAg-U8-hf8" customClass="FriendsListCell">
  13. <rect key="frame" x="0.0" y="0.0" width="193" height="181"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="193" height="181"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EAI-B6-h8b">
  20. <rect key="frame" x="0.0" y="0.0" width="193" height="181"/>
  21. <subviews>
  22. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="placeholderImage.png" translatesAutoresizingMaskIntoConstraints="NO" id="f5b-1G-3Dq">
  23. <rect key="frame" x="46.5" y="10.5" width="100" height="100"/>
  24. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  25. <constraints>
  26. <constraint firstAttribute="height" constant="100" id="dZI-vl-ZGK"/>
  27. <constraint firstAttribute="width" constant="100" id="ysq-Sv-QjK"/>
  28. </constraints>
  29. </imageView>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YFh-dw-LWC">
  31. <rect key="frame" x="0.0" y="110.5" width="193" height="26.5"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  33. <nil key="textColor"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="离线" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ngj-sh-WK6">
  37. <rect key="frame" x="0.0" y="145" width="193" height="26"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="26" id="gbV-4O-q4s"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  42. <nil key="textColor"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. </subviews>
  46. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  47. <constraints>
  48. <constraint firstItem="Ngj-sh-WK6" firstAttribute="leading" secondItem="EAI-B6-h8b" secondAttribute="leading" id="D8H-on-DiN"/>
  49. <constraint firstItem="YFh-dw-LWC" firstAttribute="top" secondItem="f5b-1G-3Dq" secondAttribute="bottom" id="EtF-Ly-anI"/>
  50. <constraint firstAttribute="trailing" secondItem="Ngj-sh-WK6" secondAttribute="trailing" id="K8k-k8-VHg"/>
  51. <constraint firstItem="Ngj-sh-WK6" firstAttribute="top" secondItem="YFh-dw-LWC" secondAttribute="bottom" constant="8" symbolic="YES" id="O8v-rQ-BBc"/>
  52. <constraint firstItem="f5b-1G-3Dq" firstAttribute="centerX" secondItem="EAI-B6-h8b" secondAttribute="centerX" id="WC6-4L-0fF"/>
  53. <constraint firstAttribute="bottom" secondItem="Ngj-sh-WK6" secondAttribute="bottom" constant="10" id="ZIX-lc-uKo"/>
  54. <constraint firstItem="YFh-dw-LWC" firstAttribute="leading" secondItem="EAI-B6-h8b" secondAttribute="leading" id="aDd-9P-a6K"/>
  55. <constraint firstItem="f5b-1G-3Dq" firstAttribute="centerY" secondItem="EAI-B6-h8b" secondAttribute="centerY" constant="-30" id="oC9-iy-3vM"/>
  56. <constraint firstAttribute="trailing" secondItem="YFh-dw-LWC" secondAttribute="trailing" id="yLb-4M-jS5"/>
  57. </constraints>
  58. </view>
  59. </subviews>
  60. </view>
  61. <constraints>
  62. <constraint firstItem="EAI-B6-h8b" firstAttribute="leading" secondItem="dAg-U8-hf8" secondAttribute="leading" id="H77-jk-Uo4"/>
  63. <constraint firstItem="EAI-B6-h8b" firstAttribute="top" secondItem="dAg-U8-hf8" secondAttribute="top" id="KiL-sb-Fad"/>
  64. <constraint firstAttribute="trailing" secondItem="EAI-B6-h8b" secondAttribute="trailing" id="OPP-1C-eO4"/>
  65. <constraint firstAttribute="trailing" secondItem="EAI-B6-h8b" secondAttribute="trailing" id="U6P-Pv-87N"/>
  66. <constraint firstItem="EAI-B6-h8b" firstAttribute="top" secondItem="dAg-U8-hf8" secondAttribute="top" id="dUh-H8-cWB"/>
  67. <constraint firstAttribute="bottom" secondItem="EAI-B6-h8b" secondAttribute="bottom" id="hjR-VO-eY3"/>
  68. <constraint firstItem="EAI-B6-h8b" firstAttribute="leading" secondItem="dAg-U8-hf8" secondAttribute="leading" id="jv8-eR-VVq"/>
  69. <constraint firstAttribute="bottom" secondItem="EAI-B6-h8b" secondAttribute="bottom" id="nlL-E6-nii"/>
  70. </constraints>
  71. <size key="customSize" width="111" height="129"/>
  72. <connections>
  73. <outlet property="covierView" destination="EAI-B6-h8b" id="gsv-Mk-R9M"/>
  74. <outlet property="imageView" destination="f5b-1G-3Dq" id="Qt6-Ii-MFD"/>
  75. <outlet property="statusLabel" destination="Ngj-sh-WK6" id="bjV-PE-HYB"/>
  76. <outlet property="titleStr" destination="YFh-dw-LWC" id="5RY-fR-asr"/>
  77. </connections>
  78. <point key="canvasLocation" x="-59" y="42"/>
  79. </collectionViewCell>
  80. </objects>
  81. <resources>
  82. <image name="placeholderImage.png" width="64" height="64"/>
  83. </resources>
  84. </document>