YBLiveListCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="16087"/>
  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" id="gTV-IL-0wX" customClass="YBLiveListCell">
  13. <rect key="frame" x="0.0" y="0.0" width="171" height="242"/>
  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="171" height="242"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="uIW-Ny-l3P" userLabel="封面">
  20. <rect key="frame" x="0.0" y="0.0" width="171" height="242"/>
  21. <userDefinedRuntimeAttributes>
  22. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  23. <real key="value" value="3"/>
  24. </userDefinedRuntimeAttribute>
  25. </userDefinedRuntimeAttributes>
  26. </imageView>
  27. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pub_bot_shadow.png" translatesAutoresizingMaskIntoConstraints="NO" id="jgP-lT-Fwl" userLabel="阴影">
  28. <rect key="frame" x="0.0" y="193.5" width="171" height="48.5"/>
  29. <userDefinedRuntimeAttributes>
  30. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  31. <real key="value" value="3"/>
  32. </userDefinedRuntimeAttribute>
  33. </userDefinedRuntimeAttributes>
  34. </imageView>
  35. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="To1-ZP-5JI" userLabel="头像">
  36. <rect key="frame" x="10" y="213" width="24" height="24"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="24" id="wfc-f1-Nh9"/>
  39. <constraint firstAttribute="width" constant="24" id="wzk-1T-SWd"/>
  40. </constraints>
  41. <userDefinedRuntimeAttributes>
  42. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  43. <real key="value" value="12"/>
  44. </userDefinedRuntimeAttribute>
  45. </userDefinedRuntimeAttributes>
  46. </imageView>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jjm-Sj-AoL" userLabel="名称">
  48. <rect key="frame" x="41" y="217" width="33.5" height="16"/>
  49. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  50. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="live_nums.png" translatesAutoresizingMaskIntoConstraints="NO" id="5eY-W2-kjV" userLabel="人数标识">
  54. <rect key="frame" x="148" y="221" width="8" height="8"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="8" id="KDv-cq-rrA"/>
  57. <constraint firstAttribute="width" constant="8" id="W7f-2Z-gsL"/>
  58. </constraints>
  59. </imageView>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5U2-gs-10f" userLabel="数字">
  61. <rect key="frame" x="159" y="218.5" width="7" height="13"/>
  62. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  63. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sDP-Qy-T1D" userLabel="标题">
  67. <rect key="frame" x="10" y="189" width="151" height="16"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  69. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="列表-购物车.png" translatesAutoresizingMaskIntoConstraints="NO" id="i5O-jO-v1n" userLabel="购物车">
  73. <rect key="frame" x="138" y="3" width="30" height="30"/>
  74. <constraints>
  75. <constraint firstAttribute="width" constant="30" id="iUE-qi-4RR"/>
  76. <constraint firstAttribute="height" constant="30" id="l5C-Rt-iun"/>
  77. </constraints>
  78. </imageView>
  79. </subviews>
  80. </view>
  81. <constraints>
  82. <constraint firstItem="5U2-gs-10f" firstAttribute="centerY" secondItem="5eY-W2-kjV" secondAttribute="centerY" id="0vQ-7C-BfN"/>
  83. <constraint firstItem="5U2-gs-10f" firstAttribute="trailing" secondItem="uIW-Ny-l3P" secondAttribute="trailing" constant="-5" id="5zx-L5-YTD"/>
  84. <constraint firstItem="jgP-lT-Fwl" firstAttribute="height" secondItem="uIW-Ny-l3P" secondAttribute="height" multiplier="0.2" id="7Sz-aC-KdK"/>
  85. <constraint firstItem="To1-ZP-5JI" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="BHj-pK-6NA"/>
  86. <constraint firstItem="5eY-W2-kjV" firstAttribute="centerY" secondItem="To1-ZP-5JI" secondAttribute="centerY" id="Iju-3W-VA2"/>
  87. <constraint firstItem="sDP-Qy-T1D" firstAttribute="leading" secondItem="To1-ZP-5JI" secondAttribute="leading" id="K1A-Um-Rex"/>
  88. <constraint firstItem="uIW-Ny-l3P" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="Mtk-Ly-3iH"/>
  89. <constraint firstItem="jjm-Sj-AoL" firstAttribute="leading" secondItem="To1-ZP-5JI" secondAttribute="trailing" constant="7" id="NlE-mb-TnR"/>
  90. <constraint firstAttribute="bottom" secondItem="jgP-lT-Fwl" secondAttribute="bottom" id="PTE-n9-c54"/>
  91. <constraint firstItem="i5O-jO-v1n" firstAttribute="trailing" secondItem="uIW-Ny-l3P" secondAttribute="trailing" constant="-3" id="V3j-NN-Ipo"/>
  92. <constraint firstItem="5eY-W2-kjV" firstAttribute="trailing" secondItem="5U2-gs-10f" secondAttribute="leading" constant="-3" id="Vjg-Fj-ppF"/>
  93. <constraint firstAttribute="bottom" secondItem="To1-ZP-5JI" secondAttribute="bottom" constant="5" id="Zjh-f4-fsE"/>
  94. <constraint firstItem="jjm-Sj-AoL" firstAttribute="centerY" secondItem="To1-ZP-5JI" secondAttribute="centerY" id="aw8-dh-LB0"/>
  95. <constraint firstItem="uIW-Ny-l3P" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" id="esh-8b-BEg"/>
  96. <constraint firstItem="uIW-Ny-l3P" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="gWD-LO-gGi"/>
  97. <constraint firstItem="jjm-Sj-AoL" firstAttribute="trailing" relation="lessThanOrEqual" secondItem="5eY-W2-kjV" secondAttribute="leading" id="gso-vB-seo"/>
  98. <constraint firstAttribute="trailing" secondItem="sDP-Qy-T1D" secondAttribute="trailing" constant="10" id="oU9-Cp-75k"/>
  99. <constraint firstItem="uIW-Ny-l3P" firstAttribute="height" secondItem="gTV-IL-0wX" secondAttribute="height" id="sza-GN-cKU"/>
  100. <constraint firstItem="i5O-jO-v1n" firstAttribute="top" secondItem="uIW-Ny-l3P" secondAttribute="top" constant="3" id="uEf-OC-khF"/>
  101. <constraint firstItem="sDP-Qy-T1D" firstAttribute="bottom" secondItem="To1-ZP-5JI" secondAttribute="top" constant="-8" id="uX7-VJ-I1S"/>
  102. <constraint firstItem="jgP-lT-Fwl" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" id="v71-P3-0Y3"/>
  103. <constraint firstItem="jgP-lT-Fwl" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="xX7-9s-NqF"/>
  104. </constraints>
  105. <size key="customSize" width="171" height="242"/>
  106. <connections>
  107. <outlet property="avatarIV" destination="To1-ZP-5JI" id="keE-0V-FZM"/>
  108. <outlet property="cartIV" destination="i5O-jO-v1n" id="7Xq-6h-jRY"/>
  109. <outlet property="liveNumsL" destination="5U2-gs-10f" id="WSS-wD-Vtm"/>
  110. <outlet property="nameL" destination="jjm-Sj-AoL" id="hGD-Fi-NsR"/>
  111. <outlet property="thumbIV" destination="uIW-Ny-l3P" id="ust-cT-Axe"/>
  112. <outlet property="titleL" destination="sDP-Qy-T1D" id="0FH-MR-K4N"/>
  113. </connections>
  114. <point key="canvasLocation" x="225.36231884057972" y="177.45535714285714"/>
  115. </collectionViewCell>
  116. </objects>
  117. <resources>
  118. <image name="live_nums.png" width="12" height="12"/>
  119. <image name="pub_bot_shadow.png" width="186" height="40"/>
  120. <image name="列表-购物车.png" width="26.666666030883789" height="26.666666030883789"/>
  121. </resources>
  122. </document>