JLFacePackgeViewCell.xib 7.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment version="2304" identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="JLFacePackgeViewCell" id="gTV-IL-0wX" customClass="JLFacePackgeViewCell">
  16. <rect key="frame" x="0.0" y="0.0" width="98" height="113"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  19. <rect key="frame" x="0.0" y="0.0" width="98" height="113"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  21. <subviews>
  22. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bd9-2Q-qlj">
  23. <rect key="frame" x="0.0" y="0.0" width="98" height="113"/>
  24. <subviews>
  25. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="1001" translatesAutoresizingMaskIntoConstraints="NO" id="wat-Qv-sh7">
  26. <rect key="frame" x="0.0" y="0.0" width="98" height="98"/>
  27. <constraints>
  28. <constraint firstAttribute="width" secondItem="wat-Qv-sh7" secondAttribute="height" multiplier="1:1" id="Zo9-HQ-iLY"/>
  29. </constraints>
  30. </imageView>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="表情包" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JbW-Ui-XYc">
  32. <rect key="frame" x="0.0" y="103" width="98" height="17"/>
  33. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  34. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="17S-QG-jQD">
  38. <rect key="frame" x="76" y="2" width="20" height="20"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="20" id="F1Q-5l-SKJ"/>
  41. <constraint firstAttribute="width" constant="20" id="TCH-WF-udM"/>
  42. </constraints>
  43. <state key="normal" image="selected_fause">
  44. <color key="titleColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
  45. </state>
  46. <state key="selected" image="selected_true"/>
  47. </button>
  48. </subviews>
  49. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  50. <constraints>
  51. <constraint firstItem="wat-Qv-sh7" firstAttribute="leading" secondItem="bd9-2Q-qlj" secondAttribute="leading" id="5d7-oR-oKU"/>
  52. <constraint firstAttribute="trailing" secondItem="JbW-Ui-XYc" secondAttribute="trailing" id="8Td-Pw-oRt"/>
  53. <constraint firstItem="wat-Qv-sh7" firstAttribute="top" secondItem="bd9-2Q-qlj" secondAttribute="top" id="AY8-av-NET"/>
  54. <constraint firstAttribute="trailing" secondItem="wat-Qv-sh7" secondAttribute="trailing" id="NqH-8F-TyN"/>
  55. <constraint firstItem="17S-QG-jQD" firstAttribute="top" secondItem="bd9-2Q-qlj" secondAttribute="top" constant="2" id="R40-1Q-q9h"/>
  56. <constraint firstItem="JbW-Ui-XYc" firstAttribute="centerX" secondItem="bd9-2Q-qlj" secondAttribute="centerX" id="d83-z0-nck"/>
  57. <constraint firstItem="JbW-Ui-XYc" firstAttribute="leading" secondItem="bd9-2Q-qlj" secondAttribute="leading" id="dZx-tb-gHW"/>
  58. <constraint firstAttribute="trailing" secondItem="17S-QG-jQD" secondAttribute="trailing" constant="2" id="fZ3-Lo-u9m"/>
  59. <constraint firstItem="JbW-Ui-XYc" firstAttribute="top" secondItem="wat-Qv-sh7" secondAttribute="bottom" constant="5" id="fyc-s8-kez"/>
  60. </constraints>
  61. </view>
  62. </subviews>
  63. </view>
  64. <constraints>
  65. <constraint firstAttribute="bottom" secondItem="bd9-2Q-qlj" secondAttribute="bottom" id="8bT-2Y-WTY"/>
  66. <constraint firstItem="bd9-2Q-qlj" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="NZA-t4-d9q"/>
  67. <constraint firstItem="bd9-2Q-qlj" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Wd1-Yn-cMn"/>
  68. <constraint firstAttribute="trailing" secondItem="bd9-2Q-qlj" secondAttribute="trailing" id="wRM-xs-X89"/>
  69. </constraints>
  70. <viewLayoutGuide key="safeArea" id="ngb-uD-AVV"/>
  71. <size key="customSize" width="98" height="113"/>
  72. <connections>
  73. <outlet property="containerView" destination="bd9-2Q-qlj" id="ULM-9u-ySg"/>
  74. <outlet property="imageView" destination="wat-Qv-sh7" id="n9N-Ok-Uh6"/>
  75. <outlet property="label" destination="JbW-Ui-XYc" id="28g-rY-dn6"/>
  76. <outlet property="markButton" destination="17S-QG-jQD" id="PX7-qq-JRP"/>
  77. </connections>
  78. <point key="canvasLocation" x="127.53623188405798" y="80.691964285714278"/>
  79. </collectionViewCell>
  80. </objects>
  81. <resources>
  82. <image name="1001" width="50" height="50"/>
  83. <image name="selected_fause" width="22" height="22"/>
  84. <image name="selected_true" width="22" height="22"/>
  85. </resources>
  86. </document>