ShoesCollectionCell.xib 6.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
  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="jr8-xA-tUP" customClass="ShoesCollectionCell">
  13. <rect key="frame" x="0.0" y="0.0" width="193" height="181"/>
  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="193" height="181"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tfp-Y9-ewB">
  20. <rect key="frame" x="0.0" y="0.0" width="193" height="181"/>
  21. <subviews>
  22. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="gamepop_shoes.png" translatesAutoresizingMaskIntoConstraints="NO" id="Kjh-S8-wbt">
  23. <rect key="frame" x="30" y="37.5" width="133" height="66.5"/>
  24. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="Kjh-S8-wbt" secondAttribute="height" multiplier="2:1" id="Ep2-1q-XN2"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="设备名字7个字" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qVV-VO-9dC">
  30. <rect key="frame" x="0.0" y="104" width="193" height="77"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  32. <nil key="textColor"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. </subviews>
  36. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  37. <constraints>
  38. <constraint firstAttribute="trailing" secondItem="qVV-VO-9dC" secondAttribute="trailing" id="7uS-XB-5xe"/>
  39. <constraint firstAttribute="bottom" secondItem="qVV-VO-9dC" secondAttribute="bottom" id="FFU-ze-sep"/>
  40. <constraint firstItem="Kjh-S8-wbt" firstAttribute="leading" secondItem="tfp-Y9-ewB" secondAttribute="leading" constant="30" id="MXl-WI-DKR"/>
  41. <constraint firstItem="Kjh-S8-wbt" firstAttribute="centerY" secondItem="tfp-Y9-ewB" secondAttribute="centerY" constant="-20" id="QWq-Ef-tO9"/>
  42. <constraint firstItem="qVV-VO-9dC" firstAttribute="top" secondItem="Kjh-S8-wbt" secondAttribute="bottom" id="fgi-Ah-VTs"/>
  43. <constraint firstItem="qVV-VO-9dC" firstAttribute="leading" secondItem="tfp-Y9-ewB" secondAttribute="leading" id="g5E-nC-J2X"/>
  44. <constraint firstAttribute="trailing" secondItem="Kjh-S8-wbt" secondAttribute="trailing" constant="30" id="xQk-13-MdW"/>
  45. </constraints>
  46. </view>
  47. </subviews>
  48. </view>
  49. <constraints>
  50. <constraint firstAttribute="trailing" secondItem="tfp-Y9-ewB" secondAttribute="trailing" id="4dP-wZ-RMv"/>
  51. <constraint firstAttribute="trailing" secondItem="tfp-Y9-ewB" secondAttribute="trailing" id="6ST-zX-cZT"/>
  52. <constraint firstAttribute="bottom" secondItem="tfp-Y9-ewB" secondAttribute="bottom" id="JC7-AD-M77"/>
  53. <constraint firstAttribute="bottom" secondItem="tfp-Y9-ewB" secondAttribute="bottom" id="KLa-qi-M7Y"/>
  54. <constraint firstItem="tfp-Y9-ewB" firstAttribute="leading" secondItem="jr8-xA-tUP" secondAttribute="leading" id="KUC-03-LZE"/>
  55. <constraint firstItem="tfp-Y9-ewB" firstAttribute="top" secondItem="jr8-xA-tUP" secondAttribute="top" id="bgN-3A-kkl"/>
  56. <constraint firstItem="tfp-Y9-ewB" firstAttribute="top" secondItem="jr8-xA-tUP" secondAttribute="top" id="c5r-Kh-4Wh"/>
  57. <constraint firstItem="tfp-Y9-ewB" firstAttribute="leading" secondItem="jr8-xA-tUP" secondAttribute="leading" id="uwK-uY-9d5"/>
  58. </constraints>
  59. <size key="customSize" width="111" height="129"/>
  60. <connections>
  61. <outlet property="covierView" destination="tfp-Y9-ewB" id="42j-nz-lFI"/>
  62. <outlet property="imageView" destination="Kjh-S8-wbt" id="Nxa-P0-ROr"/>
  63. <outlet property="titleStr" destination="qVV-VO-9dC" id="ICc-zT-9gI"/>
  64. </connections>
  65. <point key="canvasLocation" x="-59" y="42"/>
  66. </collectionViewCell>
  67. </objects>
  68. <resources>
  69. <image name="gamepop_shoes.png" width="99" height="46"/>
  70. </resources>
  71. </document>