PDFSettingsColorViewController.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
  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="PDFSettingsColorViewController">
  12. <connections>
  13. <outlet property="brightnessSlider" destination="X8K-ml-2f6" id="bCV-EG-hsG"/>
  14. <outlet property="colorView" destination="jKb-uc-5pu" id="bZd-1K-JUn"/>
  15. <outlet property="hueSlider" destination="vje-ne-wF3" id="ZuI-DM-Fcb"/>
  16. <outlet property="saturationSlider" destination="9IV-3d-mQV" id="fP6-tP-gUT"/>
  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="393" height="852"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Custom Background" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9bW-7D-FSg">
  26. <rect key="frame" x="131" y="10" width="131.33333333333337" height="17"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  28. <nil key="textColor"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Yvp-Js-Jdc">
  32. <rect key="frame" x="167.66666666666666" y="34" width="58" height="58"/>
  33. <subviews>
  34. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jKb-uc-5pu">
  35. <rect key="frame" x="4" y="4" width="50" height="50"/>
  36. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  37. <constraints>
  38. <constraint firstAttribute="width" constant="50" id="Hcu-CE-3lG"/>
  39. <constraint firstAttribute="height" constant="50" id="hQr-vj-eiw"/>
  40. </constraints>
  41. </view>
  42. </subviews>
  43. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstItem="jKb-uc-5pu" firstAttribute="centerY" secondItem="Yvp-Js-Jdc" secondAttribute="centerY" id="Aie-2Z-8UM"/>
  46. <constraint firstItem="jKb-uc-5pu" firstAttribute="centerX" secondItem="Yvp-Js-Jdc" secondAttribute="centerX" id="Ao0-le-XPA"/>
  47. <constraint firstAttribute="width" constant="58" id="ZeP-Ip-Vny"/>
  48. <constraint firstAttribute="height" constant="58" id="yOt-GI-Uvl"/>
  49. </constraints>
  50. </view>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Hue" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="leJ-EH-Vfn">
  52. <rect key="frame" x="66.666666666666671" y="104.66666666666667" width="23" height="14.333333333333329"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  54. <nil key="textColor"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" continuous="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vje-ne-wF3" customClass="PDFViewColorSlider">
  58. <rect key="frame" x="64.666666666666686" y="124" width="264" height="31"/>
  59. <constraints>
  60. <constraint firstAttribute="width" constant="260" id="PXb-4Y-01M"/>
  61. </constraints>
  62. <connections>
  63. <action selector="sliderValueChanged_Color:" destination="-1" eventType="valueChanged" id="wYL-wq-jK2"/>
  64. </connections>
  65. </slider>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Saturation" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lY6-4B-zda">
  67. <rect key="frame" x="66.666666666666671" y="179" width="59" height="15"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  69. <nil key="textColor"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" continuous="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9IV-3d-mQV" customClass="PDFViewColorSlider">
  73. <rect key="frame" x="64.666666666666686" y="199" width="264" height="31"/>
  74. <constraints>
  75. <constraint firstAttribute="width" constant="260" id="vk9-9m-PXI"/>
  76. </constraints>
  77. <connections>
  78. <action selector="sliderValueChanged_Color:" destination="-1" eventType="valueChanged" id="j9T-hE-2Va"/>
  79. </connections>
  80. </slider>
  81. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Brightness" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HeR-Qa-3DO">
  82. <rect key="frame" x="66.666666666666671" y="254" width="61" height="15"/>
  83. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  84. <nil key="textColor"/>
  85. <nil key="highlightedColor"/>
  86. </label>
  87. <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" continuous="NO" translatesAutoresizingMaskIntoConstraints="NO" id="X8K-ml-2f6" customClass="PDFViewColorSlider">
  88. <rect key="frame" x="64.666666666666686" y="274" width="264" height="31"/>
  89. <constraints>
  90. <constraint firstAttribute="width" constant="260" id="SbY-Pz-6Uk"/>
  91. </constraints>
  92. <connections>
  93. <action selector="sliderValueChanged_Color:" destination="-1" eventType="valueChanged" id="ygt-PG-pDy"/>
  94. </connections>
  95. </slider>
  96. </subviews>
  97. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  98. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. <constraints>
  100. <constraint firstItem="Yvp-Js-Jdc" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="1kM-ue-VGK"/>
  101. <constraint firstItem="9IV-3d-mQV" firstAttribute="top" secondItem="lY6-4B-zda" secondAttribute="bottom" constant="5" id="3W9-YB-VQa"/>
  102. <constraint firstItem="9IV-3d-mQV" firstAttribute="top" secondItem="vje-ne-wF3" secondAttribute="bottom" constant="45" id="4LT-Eo-zhw"/>
  103. <constraint firstItem="Yvp-Js-Jdc" firstAttribute="top" secondItem="9bW-7D-FSg" secondAttribute="bottom" constant="7" id="4ip-fC-drE"/>
  104. <constraint firstItem="vje-ne-wF3" firstAttribute="top" secondItem="Yvp-Js-Jdc" secondAttribute="bottom" constant="32" id="71C-dF-qKc"/>
  105. <constraint firstItem="9bW-7D-FSg" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="DB2-kx-F9T"/>
  106. <constraint firstItem="X8K-ml-2f6" firstAttribute="leading" secondItem="HeR-Qa-3DO" secondAttribute="leading" id="I1K-wM-Qrz"/>
  107. <constraint firstItem="9IV-3d-mQV" firstAttribute="leading" secondItem="lY6-4B-zda" secondAttribute="leading" id="KLg-Yp-gAl"/>
  108. <constraint firstItem="X8K-ml-2f6" firstAttribute="top" secondItem="HeR-Qa-3DO" secondAttribute="bottom" constant="5" id="SNC-z3-Ohx"/>
  109. <constraint firstItem="vje-ne-wF3" firstAttribute="leading" secondItem="leJ-EH-Vfn" secondAttribute="leading" id="VLl-WN-KHG"/>
  110. <constraint firstItem="vje-ne-wF3" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Xuw-0Z-3s3"/>
  111. <constraint firstItem="9bW-7D-FSg" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="10" id="Zzm-vs-G0W"/>
  112. <constraint firstItem="vje-ne-wF3" firstAttribute="top" secondItem="leJ-EH-Vfn" secondAttribute="bottom" constant="5" id="c6E-N1-C8Y"/>
  113. <constraint firstItem="X8K-ml-2f6" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="cHP-ZN-tpf"/>
  114. <constraint firstItem="9IV-3d-mQV" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="lC8-Bm-ueT"/>
  115. <constraint firstItem="X8K-ml-2f6" firstAttribute="top" secondItem="9IV-3d-mQV" secondAttribute="bottom" constant="45" id="lve-2F-wKx"/>
  116. </constraints>
  117. <point key="canvasLocation" x="139" y="155"/>
  118. </view>
  119. </objects>
  120. </document>