GamelistCollectionViewCell.xib 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" 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="20020"/>
  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" reuseIdentifier="GamelistCollectionViewCell" id="gTV-IL-0wX" customClass="GamelistCollectionViewCell">
  13. <rect key="frame" x="0.0" y="0.0" width="147" height="147"/>
  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="147" height="147"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="63e-6n-Kgc">
  20. <rect key="frame" x="10" y="0.0" width="127" height="127"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="63e-6n-Kgc" secondAttribute="height" multiplier="1:1" id="GW4-FJ-lE1"/>
  23. </constraints>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="游戏名" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pWX-54-8xZ">
  26. <rect key="frame" x="0.0" y="127" width="147" height="20"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="8"/>
  28. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="游戏中" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vs5-HX-Ouh">
  32. <rect key="frame" x="15" y="97" width="117" height="20"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="20" id="G76-WZ-fDw"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  37. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. </subviews>
  41. </view>
  42. <constraints>
  43. <constraint firstItem="vs5-HX-Ouh" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="15" id="2Qs-vW-R47"/>
  44. <constraint firstAttribute="trailing" secondItem="pWX-54-8xZ" secondAttribute="trailing" id="2WN-jJ-Kma"/>
  45. <constraint firstItem="pWX-54-8xZ" firstAttribute="top" secondItem="63e-6n-Kgc" secondAttribute="bottom" id="4fs-bk-GbH"/>
  46. <constraint firstAttribute="bottom" secondItem="pWX-54-8xZ" secondAttribute="bottom" id="MlT-do-3uG"/>
  47. <constraint firstAttribute="trailing" secondItem="vs5-HX-Ouh" secondAttribute="trailing" constant="15" id="SDc-73-V3E"/>
  48. <constraint firstItem="pWX-54-8xZ" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="VnN-mX-bcF"/>
  49. <constraint firstAttribute="trailing" secondItem="63e-6n-Kgc" secondAttribute="trailing" constant="10" id="YLl-c2-NA6"/>
  50. <constraint firstItem="pWX-54-8xZ" firstAttribute="top" secondItem="vs5-HX-Ouh" secondAttribute="bottom" constant="10" id="Ybu-B7-hbK"/>
  51. <constraint firstItem="63e-6n-Kgc" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="Z9J-YG-cKw"/>
  52. <constraint firstItem="63e-6n-Kgc" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="uFU-Dx-FWG"/>
  53. </constraints>
  54. <size key="customSize" width="147" height="147"/>
  55. <connections>
  56. <outlet property="gameImg" destination="63e-6n-Kgc" id="j58-4K-DUl"/>
  57. <outlet property="gameName" destination="pWX-54-8xZ" id="zrr-0z-C7U"/>
  58. <outlet property="gamePlaying_L" destination="vs5-HX-Ouh" id="miT-XP-tun"/>
  59. </connections>
  60. <point key="canvasLocation" x="-15.199999999999999" y="30.134932533733135"/>
  61. </collectionViewCell>
  62. </objects>
  63. </document>