AccountItemCell.xib 5.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="AccountItemCell">
  15. <rect key="frame" x="0.0" y="0.0" width="166" height="80"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="166" height="80"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥6" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YzY-h0-N9h">
  22. <rect key="frame" x="10" y="42" width="146" height="18"/>
  23. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  24. <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  25. <nil key="highlightedColor"/>
  26. </label>
  27. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Z0b-MS-bD3">
  28. <rect key="frame" x="10" y="19" width="146" height="18"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  30. <inset key="imageEdgeInsets" minX="-5" minY="0.0" maxX="0.0" maxY="0.0"/>
  31. <state key="normal" title="110" image="com_diamond_1">
  32. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  33. </state>
  34. </button>
  35. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="me_account_item_border" translatesAutoresizingMaskIntoConstraints="NO" id="gx8-e3-hjg">
  36. <rect key="frame" x="143" y="57" width="23" height="23"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="23" id="Ke4-cc-SHs"/>
  39. <constraint firstAttribute="width" constant="23" id="Wv7-9C-OUY"/>
  40. </constraints>
  41. </imageView>
  42. </subviews>
  43. </view>
  44. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  45. <constraints>
  46. <constraint firstItem="YzY-h0-N9h" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="3RH-iR-Uvs"/>
  47. <constraint firstAttribute="bottom" secondItem="gx8-e3-hjg" secondAttribute="bottom" id="Cj2-1J-vhO"/>
  48. <constraint firstAttribute="trailing" secondItem="gx8-e3-hjg" secondAttribute="trailing" id="Dfu-xv-UiX"/>
  49. <constraint firstAttribute="trailing" secondItem="Z0b-MS-bD3" secondAttribute="trailing" constant="10" id="KCr-cj-JGR"/>
  50. <constraint firstItem="Z0b-MS-bD3" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="VDQ-eZ-8hf"/>
  51. <constraint firstAttribute="trailing" secondItem="YzY-h0-N9h" secondAttribute="trailing" constant="10" id="WP0-C4-0M2"/>
  52. <constraint firstAttribute="bottom" secondItem="YzY-h0-N9h" secondAttribute="bottom" constant="20" id="Zdo-I6-dTj"/>
  53. <constraint firstItem="YzY-h0-N9h" firstAttribute="top" secondItem="Z0b-MS-bD3" secondAttribute="bottom" constant="5" id="l0O-QW-6lC"/>
  54. </constraints>
  55. <size key="customSize" width="166" height="99"/>
  56. <userDefinedRuntimeAttributes>
  57. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  58. <integer key="value" value="5"/>
  59. </userDefinedRuntimeAttribute>
  60. <userDefinedRuntimeAttribute type="boolean" keyPath="clipsToBounds" value="YES"/>
  61. </userDefinedRuntimeAttributes>
  62. <connections>
  63. <outlet property="diamondButton" destination="Z0b-MS-bD3" id="LzA-3H-eaC"/>
  64. <outlet property="priceLabel" destination="YzY-h0-N9h" id="HsO-dL-LMR"/>
  65. <outlet property="selectImageView" destination="gx8-e3-hjg" id="6mE-EY-ZCi"/>
  66. </connections>
  67. <point key="canvasLocation" x="-11" y="180"/>
  68. </collectionViewCell>
  69. </objects>
  70. <resources>
  71. <image name="com_diamond_1" width="12" height="11"/>
  72. <image name="me_account_item_border" width="17" height="20"/>
  73. </resources>
  74. </document>