SampleTableViewController.storyboard 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="4wT-3U-j3F">
  3. <dependencies>
  4. <deployment identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
  6. <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
  7. </dependencies>
  8. <scenes>
  9. <!--Sample Table View Controller-->
  10. <scene sceneID="TKp-H0-I3P">
  11. <objects>
  12. <tableViewController id="4wT-3U-j3F" customClass="SampleTableViewController" customModule="Demo" customModuleProvider="target" sceneMemberID="viewController">
  13. <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="Gfi-OA-RfQ">
  14. <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  17. <prototypes>
  18. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" id="hRd-LY-XjG" customClass="SampleTableViewCell" customModule="Demo" customModuleProvider="target">
  19. <rect key="frame" x="0.0" y="28" width="600" height="44"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="hRd-LY-XjG" id="cFY-ba-p1v">
  22. <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
  23. <autoresizingMask key="autoresizingMask"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BHf-3f-fHF">
  26. <rect key="frame" x="16" y="11" width="200" height="21"/>
  27. <constraints>
  28. <constraint firstAttribute="height" constant="21" id="3lx-Yu-VcB"/>
  29. <constraint firstAttribute="width" constant="200" id="yTE-Gm-4vg"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  32. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SYO-87-FkQ">
  36. <rect key="frame" x="384" y="11" width="200" height="21"/>
  37. <constraints>
  38. <constraint firstAttribute="width" constant="200" id="EC5-Ob-cwi"/>
  39. <constraint firstAttribute="height" constant="21" id="Ki8-nY-Zw3"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  42. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. </subviews>
  46. <constraints>
  47. <constraint firstItem="BHf-3f-fHF" firstAttribute="leading" secondItem="cFY-ba-p1v" secondAttribute="leadingMargin" constant="8" id="OWc-d2-3Kc"/>
  48. <constraint firstItem="BHf-3f-fHF" firstAttribute="centerY" secondItem="cFY-ba-p1v" secondAttribute="centerY" id="apx-WT-hCh"/>
  49. <constraint firstItem="SYO-87-FkQ" firstAttribute="centerY" secondItem="cFY-ba-p1v" secondAttribute="centerY" id="ix7-6X-G5F"/>
  50. <constraint firstAttribute="trailingMargin" secondItem="SYO-87-FkQ" secondAttribute="trailing" constant="8" id="mKQ-oZ-wJR"/>
  51. </constraints>
  52. </tableViewCellContentView>
  53. <connections>
  54. <outlet property="leftLabel" destination="BHf-3f-fHF" id="DrU-nI-LuS"/>
  55. <outlet property="rightLabel" destination="SYO-87-FkQ" id="cDo-TB-Tml"/>
  56. </connections>
  57. </tableViewCell>
  58. </prototypes>
  59. <connections>
  60. <outlet property="dataSource" destination="4wT-3U-j3F" id="4rD-nT-RaB"/>
  61. <outlet property="delegate" destination="4wT-3U-j3F" id="Zpt-pd-xjw"/>
  62. </connections>
  63. </tableView>
  64. </tableViewController>
  65. <placeholder placeholderIdentifier="IBFirstResponder" id="gDh-v1-sOp" userLabel="First Responder" sceneMemberID="firstResponder"/>
  66. </objects>
  67. <point key="canvasLocation" x="625" y="418"/>
  68. </scene>
  69. </scenes>
  70. </document>