PDFLinkViewController.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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="retina3_5" 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="PDFLinkViewController">
  12. <connections>
  13. <outlet property="contentView" destination="7tA-8a-f0t" id="GvG-cN-e9u"/>
  14. <outlet property="emailButton" destination="wZv-LX-nHn" id="RFw-HD-PQa"/>
  15. <outlet property="emailLabel" destination="bnV-EL-MHI" id="zJl-jH-RVv"/>
  16. <outlet property="pageButton" destination="dqU-IT-mR2" id="7B7-be-VkH"/>
  17. <outlet property="pageLabel" destination="ozo-gm-lNW" id="6mO-kv-5WK"/>
  18. <outlet property="textField" destination="dT5-iN-3D2" id="cFE-VY-PMG"/>
  19. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  20. <outlet property="websiteButton" destination="Lm9-jj-SCE" id="mep-KI-itu"/>
  21. <outlet property="websiteLabel" destination="kII-fH-Jqo" id="Mx7-fq-GLS"/>
  22. </connections>
  23. </placeholder>
  24. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  25. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  26. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  27. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  28. <subviews>
  29. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7tA-8a-f0t">
  30. <rect key="frame" x="10" y="107.5" width="300" height="165"/>
  31. <subviews>
  32. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BBS-WI-e2Z">
  33. <rect key="frame" x="10" y="5" width="48" height="30"/>
  34. <state key="normal" title="Cancel"/>
  35. <connections>
  36. <action selector="buttonItemClicked_Cancel:" destination="-1" eventType="touchUpInside" id="k0W-Xm-xOs"/>
  37. </connections>
  38. </button>
  39. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CZ9-R7-jzE">
  40. <rect key="frame" x="253" y="5" width="37" height="30"/>
  41. <state key="normal" title="Done"/>
  42. <connections>
  43. <action selector="buttonItemClicked_Done:" destination="-1" eventType="touchUpInside" id="ZUP-5z-ZOf"/>
  44. </connections>
  45. </button>
  46. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Add link" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qX9-cM-uIc">
  47. <rect key="frame" x="122.5" y="11" width="55" height="18"/>
  48. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  49. <nil key="textColor"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZaR-WB-mdF">
  53. <rect key="frame" x="0.0" y="40" width="300" height="1"/>
  54. <color key="backgroundColor" red="0.83741801979999997" green="0.83743780850000005" blue="0.83742713930000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="1" id="Cec-aa-y7u"/>
  57. </constraints>
  58. </view>
  59. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="dT5-iN-3D2">
  60. <rect key="frame" x="20" y="117" width="260" height="34"/>
  61. <constraints>
  62. <constraint firstAttribute="width" constant="260" id="oAL-PI-93Z"/>
  63. </constraints>
  64. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  65. <textInputTraits key="textInputTraits"/>
  66. </textField>
  67. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MHl-Ct-RdH">
  68. <rect key="frame" x="30" y="51" width="240" height="60"/>
  69. <subviews>
  70. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Lm9-jj-SCE">
  71. <rect key="frame" x="0.0" y="0.0" width="80" height="42"/>
  72. <state key="normal" image="btn_website01.png">
  73. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  74. </state>
  75. <state key="selected" image="btn_website02.png"/>
  76. <connections>
  77. <action selector="buttonItemClicked_Switch:" destination="-1" eventType="touchUpInside" id="YaO-4e-UJN"/>
  78. </connections>
  79. </button>
  80. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Website" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kII-fH-Jqo">
  81. <rect key="frame" x="14" y="44" width="52.5" height="17"/>
  82. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  83. <color key="textColor" red="0.73725490196078436" green="0.73725490196078436" blue="0.73725490196078436" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  84. <nil key="highlightedColor"/>
  85. </label>
  86. <button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dqU-IT-mR2">
  87. <rect key="frame" x="80" y="0.0" width="80" height="42"/>
  88. <state key="normal" image="btn_page01.png"/>
  89. <state key="selected" image="btn_page02.png"/>
  90. <connections>
  91. <action selector="buttonItemClicked_Switch:" destination="-1" eventType="touchUpInside" id="JDH-cM-gWb"/>
  92. </connections>
  93. </button>
  94. <button opaque="NO" tag="2" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wZv-LX-nHn">
  95. <rect key="frame" x="160" y="0.0" width="80" height="42"/>
  96. <state key="normal" image="btn_email01.png"/>
  97. <state key="selected" image="btn_email02.png"/>
  98. <connections>
  99. <action selector="buttonItemClicked_Switch:" destination="-1" eventType="touchUpInside" id="UwO-K7-CON"/>
  100. </connections>
  101. </button>
  102. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Email" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bnV-EL-MHI">
  103. <rect key="frame" x="183" y="44" width="34.5" height="17"/>
  104. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  105. <color key="textColor" red="0.73725490199999999" green="0.73725490199999999" blue="0.73725490199999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  106. <nil key="highlightedColor"/>
  107. </label>
  108. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Page" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ozo-gm-lNW">
  109. <rect key="frame" x="104" y="44" width="32.5" height="17"/>
  110. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  111. <color key="textColor" red="0.73725490199999999" green="0.73725490199999999" blue="0.73725490199999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  112. <nil key="highlightedColor"/>
  113. </label>
  114. </subviews>
  115. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  116. <constraints>
  117. <constraint firstItem="dqU-IT-mR2" firstAttribute="top" secondItem="MHl-Ct-RdH" secondAttribute="top" id="1ro-T4-gtg"/>
  118. <constraint firstItem="kII-fH-Jqo" firstAttribute="centerX" secondItem="Lm9-jj-SCE" secondAttribute="centerX" id="BKS-mh-q3H"/>
  119. <constraint firstItem="Lm9-jj-SCE" firstAttribute="width" secondItem="MHl-Ct-RdH" secondAttribute="width" multiplier="1:3" id="D5w-g3-VYf"/>
  120. <constraint firstAttribute="bottom" secondItem="Lm9-jj-SCE" secondAttribute="bottom" constant="18" id="ETM-MK-z2J"/>
  121. <constraint firstItem="dqU-IT-mR2" firstAttribute="leading" secondItem="Lm9-jj-SCE" secondAttribute="trailing" id="ETY-hb-jDP"/>
  122. <constraint firstItem="bnV-EL-MHI" firstAttribute="centerX" secondItem="wZv-LX-nHn" secondAttribute="centerX" id="EbH-Pa-926"/>
  123. <constraint firstItem="ozo-gm-lNW" firstAttribute="centerX" secondItem="dqU-IT-mR2" secondAttribute="centerX" id="Knh-gm-7MA"/>
  124. <constraint firstItem="wZv-LX-nHn" firstAttribute="width" secondItem="MHl-Ct-RdH" secondAttribute="width" multiplier="1:3" id="LBr-Kf-FAh"/>
  125. <constraint firstItem="ozo-gm-lNW" firstAttribute="top" secondItem="dqU-IT-mR2" secondAttribute="bottom" constant="2" id="R9q-4B-36p"/>
  126. <constraint firstAttribute="bottom" secondItem="dqU-IT-mR2" secondAttribute="bottom" constant="18" id="ZeU-Ls-wbf"/>
  127. <constraint firstItem="Lm9-jj-SCE" firstAttribute="top" secondItem="MHl-Ct-RdH" secondAttribute="top" id="ahT-5a-izA"/>
  128. <constraint firstAttribute="height" constant="60" id="gyh-Zc-hhj"/>
  129. <constraint firstAttribute="width" constant="240" id="jMY-Cu-KZO"/>
  130. <constraint firstItem="kII-fH-Jqo" firstAttribute="top" secondItem="Lm9-jj-SCE" secondAttribute="bottom" constant="2" id="q3s-JA-RUa"/>
  131. <constraint firstItem="Lm9-jj-SCE" firstAttribute="leading" secondItem="MHl-Ct-RdH" secondAttribute="leading" id="ruC-Pc-43G"/>
  132. <constraint firstItem="bnV-EL-MHI" firstAttribute="top" secondItem="wZv-LX-nHn" secondAttribute="bottom" constant="2" id="rzs-UP-0F0"/>
  133. <constraint firstItem="wZv-LX-nHn" firstAttribute="top" secondItem="MHl-Ct-RdH" secondAttribute="top" id="uLN-rf-d84"/>
  134. <constraint firstItem="dqU-IT-mR2" firstAttribute="width" secondItem="MHl-Ct-RdH" secondAttribute="width" multiplier="1:3" id="uyQ-xC-seh"/>
  135. <constraint firstAttribute="bottom" secondItem="wZv-LX-nHn" secondAttribute="bottom" constant="18" id="w40-Re-H33"/>
  136. <constraint firstAttribute="trailing" secondItem="wZv-LX-nHn" secondAttribute="trailing" id="zeq-07-3Pi"/>
  137. </constraints>
  138. </view>
  139. </subviews>
  140. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  141. <constraints>
  142. <constraint firstItem="CZ9-R7-jzE" firstAttribute="top" secondItem="7tA-8a-f0t" secondAttribute="top" constant="5" id="3RF-On-CDb"/>
  143. <constraint firstItem="qX9-cM-uIc" firstAttribute="centerY" secondItem="BBS-WI-e2Z" secondAttribute="centerY" id="5dJ-OB-psS"/>
  144. <constraint firstItem="BBS-WI-e2Z" firstAttribute="top" secondItem="7tA-8a-f0t" secondAttribute="top" constant="5" id="7HF-Qg-upG"/>
  145. <constraint firstAttribute="height" constant="165" id="8ZZ-KZ-N2B"/>
  146. <constraint firstItem="MHl-Ct-RdH" firstAttribute="centerX" secondItem="7tA-8a-f0t" secondAttribute="centerX" id="J71-cB-eMq"/>
  147. <constraint firstAttribute="trailing" secondItem="ZaR-WB-mdF" secondAttribute="trailing" id="NZJ-9t-br8"/>
  148. <constraint firstAttribute="width" constant="300" id="PRq-Zc-CwR"/>
  149. <constraint firstItem="dT5-iN-3D2" firstAttribute="centerX" secondItem="7tA-8a-f0t" secondAttribute="centerX" id="bql-po-lmz"/>
  150. <constraint firstAttribute="bottom" secondItem="dT5-iN-3D2" secondAttribute="bottom" constant="14" id="f4Y-Gt-mZV"/>
  151. <constraint firstItem="BBS-WI-e2Z" firstAttribute="leading" secondItem="7tA-8a-f0t" secondAttribute="leading" constant="10" id="fBl-1G-GGE"/>
  152. <constraint firstItem="MHl-Ct-RdH" firstAttribute="top" secondItem="ZaR-WB-mdF" secondAttribute="bottom" constant="10" id="mCa-V2-y3p"/>
  153. <constraint firstItem="ZaR-WB-mdF" firstAttribute="top" secondItem="BBS-WI-e2Z" secondAttribute="bottom" constant="5" id="nnJ-Xs-DBV"/>
  154. <constraint firstItem="qX9-cM-uIc" firstAttribute="centerX" secondItem="7tA-8a-f0t" secondAttribute="centerX" id="ruP-hi-ese"/>
  155. <constraint firstItem="ZaR-WB-mdF" firstAttribute="leading" secondItem="7tA-8a-f0t" secondAttribute="leading" id="v7g-lQ-BqI"/>
  156. <constraint firstAttribute="trailing" secondItem="CZ9-R7-jzE" secondAttribute="trailing" constant="10" id="vnH-Yd-xe1"/>
  157. </constraints>
  158. </view>
  159. </subviews>
  160. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  161. <color key="backgroundColor" white="0.0" alpha="0.69999999999999996" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  162. <constraints>
  163. <constraint firstItem="7tA-8a-f0t" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" constant="-50" id="dkS-0O-2Ff"/>
  164. <constraint firstItem="7tA-8a-f0t" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="gPH-kz-sHk"/>
  165. </constraints>
  166. <point key="canvasLocation" x="139" y="155"/>
  167. </view>
  168. </objects>
  169. <resources>
  170. <image name="btn_email01.png" width="40.5" height="41"/>
  171. <image name="btn_email02.png" width="40.5" height="41"/>
  172. <image name="btn_page01.png" width="40.5" height="41"/>
  173. <image name="btn_page02.png" width="40.5" height="41"/>
  174. <image name="btn_website01.png" width="40.5" height="41"/>
  175. <image name="btn_website02.png" width="40.5" height="41"/>
  176. </resources>
  177. </document>