PDFOutlineViewCell.xib 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  5. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  6. </dependencies>
  7. <objects>
  8. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  9. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  10. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="8KC-5C-6ud" customClass="PDFOutlineViewCell">
  11. <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
  12. <autoresizingMask key="autoresizingMask"/>
  13. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="8KC-5C-6ud" id="L0a-er-P6Y">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ync-Oe-Ivs">
  18. <rect key="frame" x="30" y="5" width="302" height="34"/>
  19. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  20. <color key="textColor" red="0.20392156862745098" green="0.20392156862745098" blue="0.20392156862745098" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  21. <nil key="highlightedColor"/>
  22. </label>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="9999" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bI8-cf-EmA">
  24. <rect key="frame" x="337" y="14" width="33" height="16"/>
  25. <constraints>
  26. <constraint firstAttribute="width" constant="33" id="g7T-Ad-BZL"/>
  27. </constraints>
  28. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  29. <color key="textColor" red="0.25490196078431371" green="0.60784313725490191" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="DjV-0e-0Uh">
  33. <rect key="frame" x="0.0" y="7" width="30" height="30"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="30" id="Q0T-8R-Poi"/>
  36. <constraint firstAttribute="width" constant="30" id="xbQ-XM-aYe"/>
  37. </constraints>
  38. <state key="normal" title="Button" image="btn_openoutline.png"/>
  39. <state key="selected" image="btn_closeoutline.png"/>
  40. <connections>
  41. <action selector="buttonItemClicked_Arrow:" destination="8KC-5C-6ud" eventType="touchUpInside" id="bFl-Td-GnI"/>
  42. </connections>
  43. </button>
  44. </subviews>
  45. <constraints>
  46. <constraint firstItem="DjV-0e-0Uh" firstAttribute="centerY" secondItem="L0a-er-P6Y" secondAttribute="centerY" id="0oF-Ky-ZE8"/>
  47. <constraint firstItem="bI8-cf-EmA" firstAttribute="centerY" secondItem="L0a-er-P6Y" secondAttribute="centerY" id="3ZB-2I-e2W"/>
  48. <constraint firstAttribute="trailing" secondItem="bI8-cf-EmA" secondAttribute="trailing" constant="5" id="3cJ-Wh-pIF"/>
  49. <constraint firstItem="DjV-0e-0Uh" firstAttribute="leading" secondItem="L0a-er-P6Y" secondAttribute="leading" id="CoO-My-3Q8"/>
  50. <constraint firstItem="ync-Oe-Ivs" firstAttribute="top" secondItem="L0a-er-P6Y" secondAttribute="top" constant="5" id="ERf-nk-Fa3"/>
  51. <constraint firstItem="ync-Oe-Ivs" firstAttribute="leading" secondItem="DjV-0e-0Uh" secondAttribute="trailing" id="d4A-0d-sRb"/>
  52. <constraint firstItem="bI8-cf-EmA" firstAttribute="leading" secondItem="ync-Oe-Ivs" secondAttribute="trailing" constant="5" id="p03-35-TJz"/>
  53. <constraint firstAttribute="bottom" secondItem="ync-Oe-Ivs" secondAttribute="bottom" constant="5" id="uoz-ZQ-AxD"/>
  54. </constraints>
  55. </tableViewCellContentView>
  56. <connections>
  57. <outlet property="arrowButton" destination="DjV-0e-0Uh" id="LPa-2u-prM"/>
  58. <outlet property="countLabel" destination="bI8-cf-EmA" id="Itl-gl-GvT"/>
  59. <outlet property="nameLabel" destination="ync-Oe-Ivs" id="8z5-s2-e5g"/>
  60. <outlet property="offsetX" destination="CoO-My-3Q8" id="3Ac-am-lag"/>
  61. </connections>
  62. <point key="canvasLocation" x="-167.5" y="15"/>
  63. </tableViewCell>
  64. </objects>
  65. <resources>
  66. <image name="btn_closeoutline.png" width="29.5" height="30"/>
  67. <image name="btn_openoutline.png" width="29.5" height="30"/>
  68. </resources>
  69. </document>