MyCustomViewCell.xib 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="14283.14"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="86" id="KGk-i7-Jjw" customClass="MyCustomViewCell" customModule="SheeeeeeeeetExample" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="407" height="86"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  19. <rect key="frame" x="0.0" y="0.0" width="407" height="85.5"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OIk-vQ-EbP">
  23. <rect key="frame" x="16" y="28" width="57" height="30"/>
  24. <state key="normal" title="Button 1">
  25. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  26. </state>
  27. <connections>
  28. <action selector="buttonTapAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="ypr-GE-UTG"/>
  29. </connections>
  30. </button>
  31. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iAL-W7-7qK">
  32. <rect key="frame" x="174" y="28" width="59" height="30"/>
  33. <state key="normal" title="Button 2">
  34. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. </state>
  36. <connections>
  37. <action selector="buttonTapAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="7BH-kU-eSk"/>
  38. </connections>
  39. </button>
  40. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Bef-2V-yEP">
  41. <rect key="frame" x="332" y="28" width="59" height="30"/>
  42. <state key="normal" title="Button 3">
  43. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. </state>
  45. <connections>
  46. <action selector="buttonTapAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="nCF-tr-nQv"/>
  47. </connections>
  48. </button>
  49. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ffR-QB-fNu" userLabel="Top Left Square">
  50. <rect key="frame" x="0.0" y="0.0" width="10" height="10"/>
  51. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="10" id="380-Mn-FYD"/>
  54. <constraint firstAttribute="width" constant="10" id="G7l-YV-yLP"/>
  55. </constraints>
  56. </view>
  57. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kEa-CI-bgV" userLabel="Top Right Square">
  58. <rect key="frame" x="397" y="0.0" width="10" height="10"/>
  59. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  60. <constraints>
  61. <constraint firstAttribute="height" constant="10" id="gWu-V4-ZKY"/>
  62. <constraint firstAttribute="width" constant="10" id="zva-qs-cFM"/>
  63. </constraints>
  64. </view>
  65. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bTQ-eC-iMr" userLabel="Bottom Left Square">
  66. <rect key="frame" x="0.0" y="75.5" width="10" height="10"/>
  67. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. <constraints>
  69. <constraint firstAttribute="width" constant="10" id="Pl1-NJ-ojp"/>
  70. <constraint firstAttribute="height" constant="10" id="RWf-uE-r9G"/>
  71. </constraints>
  72. </view>
  73. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8tV-j8-ceC" userLabel="Bottom Right Square">
  74. <rect key="frame" x="397" y="75.5" width="10" height="10"/>
  75. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  76. <constraints>
  77. <constraint firstAttribute="height" constant="10" id="sUd-6c-1Bd"/>
  78. <constraint firstAttribute="width" constant="10" id="xND-Qn-ga9"/>
  79. </constraints>
  80. </view>
  81. </subviews>
  82. <color key="backgroundColor" red="1" green="0.18940589469999999" blue="0.1750509361" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  83. <constraints>
  84. <constraint firstItem="bTQ-eC-iMr" firstAttribute="leading" secondItem="ffR-QB-fNu" secondAttribute="leading" id="0yJ-3H-HxZ"/>
  85. <constraint firstItem="OIk-vQ-EbP" firstAttribute="centerY" secondItem="iAL-W7-7qK" secondAttribute="centerY" id="3Y6-A7-FRK"/>
  86. <constraint firstItem="iAL-W7-7qK" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="BtH-S2-qsn"/>
  87. <constraint firstItem="kEa-CI-bgV" firstAttribute="top" secondItem="ffR-QB-fNu" secondAttribute="top" id="CJI-fC-Vhw"/>
  88. <constraint firstItem="OIk-vQ-EbP" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="DxO-70-85p"/>
  89. <constraint firstAttribute="trailing" secondItem="kEa-CI-bgV" secondAttribute="trailing" id="Gqr-CJ-0ml"/>
  90. <constraint firstItem="iAL-W7-7qK" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="PAO-jJ-v7l"/>
  91. <constraint firstItem="ffR-QB-fNu" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="X7T-VD-ebK"/>
  92. <constraint firstAttribute="trailing" secondItem="Bef-2V-yEP" secondAttribute="trailing" constant="16" id="XlK-pU-HRW"/>
  93. <constraint firstItem="ffR-QB-fNu" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Zp5-v0-pwp"/>
  94. <constraint firstItem="8tV-j8-ceC" firstAttribute="bottom" secondItem="bTQ-eC-iMr" secondAttribute="bottom" id="fu5-6x-BV0"/>
  95. <constraint firstItem="Bef-2V-yEP" firstAttribute="centerY" secondItem="iAL-W7-7qK" secondAttribute="centerY" id="qZt-Fc-aoN"/>
  96. <constraint firstItem="8tV-j8-ceC" firstAttribute="trailing" secondItem="kEa-CI-bgV" secondAttribute="trailing" id="rkf-gz-l8d"/>
  97. <constraint firstAttribute="bottom" secondItem="bTQ-eC-iMr" secondAttribute="bottom" id="u3u-pK-RXl"/>
  98. </constraints>
  99. </tableViewCellContentView>
  100. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  101. <connections>
  102. <outlet property="centerButton" destination="iAL-W7-7qK" id="TWi-oz-NBs"/>
  103. <outlet property="leftButton" destination="OIk-vQ-EbP" id="Sfb-cj-Sp0"/>
  104. <outlet property="rightButton" destination="Bef-2V-yEP" id="9C0-C8-dVA"/>
  105. </connections>
  106. <point key="canvasLocation" x="186.40000000000001" y="67.466266866566727"/>
  107. </tableViewCell>
  108. </objects>
  109. </document>