JLBubbleViewCell.xib 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16096" 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 version="2304" identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16086"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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" restorationIdentifier="JLBubbleViewCell" id="gTV-IL-0wX" customClass="JLBubbleViewCell">
  14. <rect key="frame" x="0.0" y="0.0" width="88" height="151"/>
  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="88" height="151"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="image1.jpg" translatesAutoresizingMaskIntoConstraints="NO" id="8ao-Z3-r6q">
  21. <rect key="frame" x="0.0" y="0.0" width="88" height="88"/>
  22. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  23. <constraints>
  24. <constraint firstAttribute="width" secondItem="8ao-Z3-r6q" secondAttribute="height" multiplier="1:1" id="tQJ-Gd-5UW"/>
  25. </constraints>
  26. </imageView>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yVO-Mc-0if">
  28. <rect key="frame" x="0.0" y="108" width="88" height="43"/>
  29. <subviews>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uya-rP-NDk">
  31. <rect key="frame" x="14" y="10" width="60" height="20"/>
  32. <subviews>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="选择" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tSj-ne-MrT">
  34. <rect key="frame" x="0.0" y="0.0" width="60" height="20"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  36. <nil key="textColor"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. </subviews>
  40. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. <constraints>
  42. <constraint firstAttribute="height" constant="20" id="Qgb-xq-6Hz"/>
  43. <constraint firstAttribute="bottom" secondItem="tSj-ne-MrT" secondAttribute="bottom" id="Sw6-tO-eJy"/>
  44. <constraint firstAttribute="width" constant="60" id="YdT-TJ-AxQ"/>
  45. <constraint firstItem="tSj-ne-MrT" firstAttribute="leading" secondItem="uya-rP-NDk" secondAttribute="leading" id="ebM-2f-ccC"/>
  46. <constraint firstAttribute="trailing" secondItem="tSj-ne-MrT" secondAttribute="trailing" id="jLY-25-ySK"/>
  47. <constraint firstItem="tSj-ne-MrT" firstAttribute="top" secondItem="uya-rP-NDk" secondAttribute="top" id="rLC-9G-wd3"/>
  48. </constraints>
  49. </view>
  50. </subviews>
  51. <color key="backgroundColor" red="0.93333333333333335" green="0.93333333333333335" blue="0.93333333333333335" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  52. <constraints>
  53. <constraint firstItem="uya-rP-NDk" firstAttribute="centerX" secondItem="yVO-Mc-0if" secondAttribute="centerX" id="V0h-8b-Gc4"/>
  54. <constraint firstItem="uya-rP-NDk" firstAttribute="top" secondItem="yVO-Mc-0if" secondAttribute="top" constant="10" id="ZKg-Do-Kln"/>
  55. </constraints>
  56. </view>
  57. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1Dq-NY-j0d" userLabel="middleView">
  58. <rect key="frame" x="0.0" y="88" width="88" height="20"/>
  59. <subviews>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="大圣娶亲" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6SX-bk-wiu">
  61. <rect key="frame" x="19.5" y="3" width="49.5" height="14.5"/>
  62. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  63. <nil key="textColor"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. </subviews>
  67. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="20" id="M7C-nS-zcP"/>
  70. <constraint firstItem="6SX-bk-wiu" firstAttribute="centerX" secondItem="1Dq-NY-j0d" secondAttribute="centerX" id="Mz1-iF-GqG"/>
  71. <constraint firstItem="6SX-bk-wiu" firstAttribute="centerY" secondItem="1Dq-NY-j0d" secondAttribute="centerY" id="eBZ-R1-lXv"/>
  72. </constraints>
  73. </view>
  74. </subviews>
  75. </view>
  76. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <constraints>
  78. <constraint firstItem="1Dq-NY-j0d" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="3yE-92-mbZ"/>
  79. <constraint firstItem="8ao-Z3-r6q" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="6Hf-OO-UMp"/>
  80. <constraint firstItem="8ao-Z3-r6q" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="8yX-xm-nQC"/>
  81. <constraint firstItem="yVO-Mc-0if" firstAttribute="top" secondItem="1Dq-NY-j0d" secondAttribute="bottom" id="GPo-nF-GIJ"/>
  82. <constraint firstItem="yVO-Mc-0if" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="QDT-Ya-Zuq"/>
  83. <constraint firstAttribute="bottom" secondItem="yVO-Mc-0if" secondAttribute="bottom" id="QOU-8Z-eoh"/>
  84. <constraint firstItem="1Dq-NY-j0d" firstAttribute="top" secondItem="8ao-Z3-r6q" secondAttribute="bottom" id="apb-Iv-CpX"/>
  85. <constraint firstAttribute="trailing" secondItem="1Dq-NY-j0d" secondAttribute="trailing" id="dky-hm-bwj"/>
  86. <constraint firstAttribute="trailing" secondItem="yVO-Mc-0if" secondAttribute="trailing" id="pbJ-uK-UDe"/>
  87. <constraint firstAttribute="trailing" secondItem="8ao-Z3-r6q" secondAttribute="trailing" id="tNI-XA-05f"/>
  88. </constraints>
  89. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  90. <size key="customSize" width="88" height="151"/>
  91. <connections>
  92. <outlet property="bgView" destination="uya-rP-NDk" id="yCm-ca-40E"/>
  93. <outlet property="bubbleImageView" destination="8ao-Z3-r6q" id="zba-PT-LrQ"/>
  94. <outlet property="nameLabel" destination="tSj-ne-MrT" id="8jA-sQ-Pf3"/>
  95. <outlet property="titleLabel" destination="6SX-bk-wiu" id="D0C-xk-Kbu"/>
  96. </connections>
  97. <point key="canvasLocation" x="15.942028985507248" y="55.245535714285715"/>
  98. </collectionViewCell>
  99. </objects>
  100. <resources>
  101. <image name="image1.jpg" width="1242" height="1786"/>
  102. </resources>
  103. </document>