YBGiftCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" 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="23506"/>
  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="YBGiftCell">
  13. <rect key="frame" x="0.0" y="0.0" width="175" height="171"/>
  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="175" height="171"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="FLN-x2-4AR" userLabel="头像">
  20. <rect key="frame" x="39.5" y="15" width="96" height="96.5"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="FLN-x2-4AR" secondAttribute="height" multiplier="1:1" id="AjB-as-xLo"/>
  23. </constraints>
  24. </imageView>
  25. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="gift_豪.png" translatesAutoresizingMaskIntoConstraints="NO" id="nB4-fi-ndY" userLabel="礼物类型">
  26. <rect key="frame" x="135.5" y="12" width="15" height="13"/>
  27. <constraints>
  28. <constraint firstAttribute="height" constant="13" id="73o-he-eyk"/>
  29. <constraint firstAttribute="width" constant="15" id="U1c-QU-AJt"/>
  30. </constraints>
  31. </imageView>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="守" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="imh-aP-wa7" userLabel="左标记">
  33. <rect key="frame" x="28.5" y="13" width="10" height="12"/>
  34. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="10"/>
  35. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="豪" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yuv-0b-5gC" userLabel="右标记">
  39. <rect key="frame" x="136.5" y="13" width="10" height="12"/>
  40. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="10"/>
  41. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  42. <nil key="highlightedColor"/>
  43. </label>
  44. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EV1-Yf-hWO" userLabel="名称">
  45. <rect key="frame" x="73.5" y="114.5" width="28.5" height="20"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="20" id="BM5-An-Dy5"/>
  48. </constraints>
  49. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  50. <color key="textColor" red="0.19607843137254902" green="0.19607843137254902" blue="0.19607843137254902" alpha="1" colorSpace="calibratedRGB"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EOl-Hx-elz" userLabel="币种">
  54. <rect key="frame" x="74.5" y="134.5" width="26.5" height="15"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="15" id="5bb-vm-hyK"/>
  57. </constraints>
  58. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  59. <color key="textColor" red="0.58431372549019611" green="0.58431372549019611" blue="0.58431372549019611" alpha="1" colorSpace="calibratedRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="7Ag-d9-4Mc" userLabel="选中标记">
  63. <rect key="frame" x="2" y="10" width="171" height="144.5"/>
  64. <userDefinedRuntimeAttributes>
  65. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  66. <real key="value" value="1"/>
  67. </userDefinedRuntimeAttribute>
  68. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  69. <real key="value" value="5"/>
  70. </userDefinedRuntimeAttribute>
  71. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  72. <color key="value" red="0.91764705882352937" green="0.21568627450980393" blue="0.49803921568627452" alpha="1" colorSpace="calibratedRGB"/>
  73. </userDefinedRuntimeAttribute>
  74. </userDefinedRuntimeAttributes>
  75. </imageView>
  76. </subviews>
  77. </view>
  78. <constraints>
  79. <constraint firstItem="EV1-Yf-hWO" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="3WH-Rf-m4A"/>
  80. <constraint firstItem="7Ag-d9-4Mc" firstAttribute="bottom" secondItem="EOl-Hx-elz" secondAttribute="bottom" constant="5" id="5HC-n5-7K7"/>
  81. <constraint firstItem="EOl-Hx-elz" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="8uT-t7-Nva"/>
  82. <constraint firstItem="Yuv-0b-5gC" firstAttribute="centerY" secondItem="imh-aP-wa7" secondAttribute="centerY" id="947-bO-az0"/>
  83. <constraint firstItem="7Ag-d9-4Mc" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="C1Z-xo-XzU"/>
  84. <constraint firstItem="nB4-fi-ndY" firstAttribute="leading" secondItem="FLN-x2-4AR" secondAttribute="trailing" id="IWi-s3-I6f"/>
  85. <constraint firstItem="FLN-x2-4AR" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="KUI-aY-DNn"/>
  86. <constraint firstItem="FLN-x2-4AR" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="15" id="NOm-Ed-OyG"/>
  87. <constraint firstItem="imh-aP-wa7" firstAttribute="trailing" secondItem="FLN-x2-4AR" secondAttribute="leading" constant="-1" id="OkD-Ss-dLf"/>
  88. <constraint firstItem="FLN-x2-4AR" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="0.55" id="QMQ-Gy-yEy"/>
  89. <constraint firstItem="EV1-Yf-hWO" firstAttribute="top" secondItem="FLN-x2-4AR" secondAttribute="bottom" constant="3" id="QVm-Pk-tVS"/>
  90. <constraint firstItem="7Ag-d9-4Mc" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" constant="-4" id="R35-Zy-7wH"/>
  91. <constraint firstItem="EOl-Hx-elz" firstAttribute="width" relation="lessThanOrEqual" secondItem="gTV-IL-0wX" secondAttribute="width" constant="-10" id="Vwf-Cc-h7l"/>
  92. <constraint firstItem="EOl-Hx-elz" firstAttribute="top" secondItem="EV1-Yf-hWO" secondAttribute="bottom" id="XCS-xm-H5y"/>
  93. <constraint firstItem="EV1-Yf-hWO" firstAttribute="width" relation="lessThanOrEqual" secondItem="gTV-IL-0wX" secondAttribute="width" constant="-10" id="a4e-r7-qiC"/>
  94. <constraint firstItem="7Ag-d9-4Mc" firstAttribute="top" secondItem="FLN-x2-4AR" secondAttribute="top" constant="-5" id="fMC-M3-dTr"/>
  95. <constraint firstItem="Yuv-0b-5gC" firstAttribute="leading" secondItem="FLN-x2-4AR" secondAttribute="trailing" constant="1" id="gnr-xf-Lgc"/>
  96. <constraint firstItem="imh-aP-wa7" firstAttribute="top" secondItem="FLN-x2-4AR" secondAttribute="top" constant="-2" id="k1n-82-iQn"/>
  97. <constraint firstItem="nB4-fi-ndY" firstAttribute="top" secondItem="FLN-x2-4AR" secondAttribute="top" constant="-3" id="qyt-JE-UUs"/>
  98. </constraints>
  99. <size key="customSize" width="175" height="171"/>
  100. <connections>
  101. <outlet property="coinNameL" destination="EOl-Hx-elz" id="mhc-I4-ZAY"/>
  102. <outlet property="flagIV" destination="7Ag-d9-4Mc" id="Eoo-FE-au9"/>
  103. <outlet property="giftTypeIV" destination="nB4-fi-ndY" id="7D3-uh-U6H"/>
  104. <outlet property="iconIV" destination="FLN-x2-4AR" id="obd-mb-B2U"/>
  105. <outlet property="leftTopL" destination="imh-aP-wa7" id="QvW-gd-htb"/>
  106. <outlet property="leftTrailing" destination="OkD-Ss-dLf" id="5IB-n1-hgg"/>
  107. <outlet property="nameL" destination="EV1-Yf-hWO" id="oin-Fg-BBb"/>
  108. <outlet property="rightLeading" destination="gnr-xf-Lgc" id="BHy-oo-Afy"/>
  109. <outlet property="rightTopL" destination="Yuv-0b-5gC" id="thA-9f-yoW"/>
  110. </connections>
  111. <point key="canvasLocation" x="-114.40000000000001" y="204.64767616191907"/>
  112. </collectionViewCell>
  113. </objects>
  114. <resources>
  115. <image name="gift_豪.png" width="30" height="26"/>
  116. </resources>
  117. </document>