PDFViewerModeViewController.xib 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="PDFViewerModeViewController">
  12. <connections>
  13. <outlet property="scrollView" destination="bbg-5g-8AC" id="fRN-F3-FM2"/>
  14. <outlet property="segmentedControl" destination="xls-wc-jbG" id="KYI-gK-bmf"/>
  15. <outlet property="slider" destination="va4-cv-LsM" id="CbC-cD-0PD"/>
  16. <outlet property="switchButton" destination="Te6-Me-K56" id="BM3-dq-CN3"/>
  17. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  22. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Themes" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y54-DK-bOz">
  26. <rect key="frame" x="179.5" y="10" width="55" height="18"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  28. <nil key="textColor"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bbg-5g-8AC">
  32. <rect key="frame" x="0.0" y="38" width="320" height="60"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="60" id="k4H-Ce-D09"/>
  35. </constraints>
  36. </scrollView>
  37. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" minimumValueImage="btn_viewer_light1.png" maximumValueImage="btn_viewer_light2.png" translatesAutoresizingMaskIntoConstraints="NO" id="va4-cv-LsM">
  38. <rect key="frame" x="55" y="108" width="304" height="31"/>
  39. <constraints>
  40. <constraint firstAttribute="width" constant="300" id="Gfz-z7-SaQ"/>
  41. </constraints>
  42. <connections>
  43. <action selector="sliderValueChanged_Brightness:" destination="-1" eventType="valueChanged" id="Zjx-rX-4sh"/>
  44. </connections>
  45. </slider>
  46. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Scroll Pages" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qod-wy-uqF">
  47. <rect key="frame" x="165" y="153" width="84.5" height="18"/>
  48. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  49. <nil key="textColor"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. <segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="xls-wc-jbG">
  53. <rect key="frame" x="113.5" y="181" width="187" height="32"/>
  54. <segments>
  55. <segment title="Vertically"/>
  56. <segment title="Horizontally"/>
  57. </segments>
  58. <connections>
  59. <action selector="segmentedControlValueChanged_Mode:" destination="-1" eventType="valueChanged" id="PkA-hY-dWp"/>
  60. </connections>
  61. </segmentedControl>
  62. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Crop Mode" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="f8x-nC-tUR">
  63. <rect key="frame" x="0.0" y="237" width="207" height="18"/>
  64. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  65. <nil key="textColor"/>
  66. <nil key="highlightedColor"/>
  67. </label>
  68. <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Te6-Me-K56">
  69. <rect key="frame" x="227" y="230.5" width="51" height="31"/>
  70. <connections>
  71. <action selector="switchValueChanged_CropMode:" destination="-1" eventType="valueChanged" id="FtO-ha-YOP"/>
  72. </connections>
  73. </switch>
  74. </subviews>
  75. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  76. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <constraints>
  78. <constraint firstItem="f8x-nC-tUR" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" multiplier="1:2" id="0GE-QV-G0n"/>
  79. <constraint firstItem="xls-wc-jbG" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="9sC-pu-ulx"/>
  80. <constraint firstItem="Te6-Me-K56" firstAttribute="centerY" secondItem="f8x-nC-tUR" secondAttribute="centerY" id="AC2-5z-r7G"/>
  81. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="bbg-5g-8AC" secondAttribute="trailing" id="GWd-TM-2mr"/>
  82. <constraint firstItem="y54-DK-bOz" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="S6r-sx-XYj"/>
  83. <constraint firstItem="Te6-Me-K56" firstAttribute="leading" secondItem="f8x-nC-tUR" secondAttribute="trailing" constant="20" id="Xjz-lx-a2o"/>
  84. <constraint firstItem="bbg-5g-8AC" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="Y8o-Ha-nIg"/>
  85. <constraint firstItem="qod-wy-uqF" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="ZGW-yX-3Ne"/>
  86. <constraint firstItem="f8x-nC-tUR" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="dGR-Ax-Egx"/>
  87. <constraint firstItem="f8x-nC-tUR" firstAttribute="top" secondItem="xls-wc-jbG" secondAttribute="bottom" constant="25" id="hHN-KO-okN"/>
  88. <constraint firstItem="xls-wc-jbG" firstAttribute="top" secondItem="qod-wy-uqF" secondAttribute="bottom" constant="10" id="kET-xO-QW1"/>
  89. <constraint firstItem="qod-wy-uqF" firstAttribute="top" secondItem="va4-cv-LsM" secondAttribute="bottom" constant="15" id="lmm-EH-FyG"/>
  90. <constraint firstItem="y54-DK-bOz" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="10" id="lrM-Tx-tER"/>
  91. <constraint firstItem="va4-cv-LsM" firstAttribute="top" secondItem="bbg-5g-8AC" secondAttribute="bottom" constant="10" id="ohS-TB-EBq"/>
  92. <constraint firstItem="va4-cv-LsM" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="qle-PT-XAb"/>
  93. <constraint firstItem="bbg-5g-8AC" firstAttribute="top" secondItem="y54-DK-bOz" secondAttribute="bottom" constant="10" id="wTa-kj-94X"/>
  94. </constraints>
  95. <point key="canvasLocation" x="130" y="104"/>
  96. </view>
  97. </objects>
  98. <resources>
  99. <image name="btn_viewer_light1.png" width="18" height="18"/>
  100. <image name="btn_viewer_light2.png" width="18" height="18"/>
  101. </resources>
  102. </document>