CDSignatureTextViewController.xib 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22154" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22154"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <customObject id="-2" userLabel="File's Owner" customClass="CDSignatureTextViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="applyButton" destination="g3X-bp-cOk" id="IbV-9H-fNd"/>
  12. <outlet property="cancelButton" destination="0gd-xO-tn0" id="nM1-Y4-AJZ"/>
  13. <outlet property="clearButton" destination="TZi-7Q-cko" id="jaz-uA-Sdo"/>
  14. <outlet property="signTextField" destination="Cbi-tv-MC8" id="d2s-5D-96g"/>
  15. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  16. </connections>
  17. </customObject>
  18. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  19. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  20. <customView id="Hz6-mo-xeY">
  21. <rect key="frame" x="0.0" y="0.0" width="600" height="300"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  23. <subviews>
  24. <customView translatesAutoresizingMaskIntoConstraints="NO" id="zML-EL-ksk">
  25. <rect key="frame" x="0.0" y="0.0" width="600" height="300"/>
  26. <subviews>
  27. <button translatesAutoresizingMaskIntoConstraints="NO" id="tJ8-yk-pPF">
  28. <rect key="frame" x="564" y="264" width="16" height="16"/>
  29. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="ImageNameDSignatClose" imagePosition="only" alignment="center" imageScaling="proportionallyUpOrDown" inset="2" id="T43-Mg-exr">
  30. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  31. <font key="font" metaFont="system"/>
  32. </buttonCell>
  33. <connections>
  34. <action selector="closeAction:" target="-2" id="ZSo-ow-mU5"/>
  35. </connections>
  36. </button>
  37. <customView translatesAutoresizingMaskIntoConstraints="NO" id="cLJ-ce-n9r">
  38. <rect key="frame" x="20" y="60" width="560" height="180"/>
  39. <subviews>
  40. <textField focusRingType="none" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Cbi-tv-MC8">
  41. <rect key="frame" x="0.0" y="60" width="560" height="60"/>
  42. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  43. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" focusRingType="none" alignment="center" placeholderString="Sign Here" drawsBackground="YES" id="tuv-kp-LAV">
  44. <font key="font" size="40" name="Helvetica"/>
  45. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  46. <color key="backgroundColor" red="0.94117647059999998" green="0.94117647059999998" blue="0.94117647059999998" alpha="0.0" colorSpace="calibratedRGB"/>
  47. </textFieldCell>
  48. </textField>
  49. </subviews>
  50. <constraints>
  51. <constraint firstAttribute="height" constant="180" id="1rY-5l-cwF"/>
  52. <constraint firstAttribute="width" constant="560" id="isz-Is-twC"/>
  53. </constraints>
  54. </customView>
  55. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0gd-xO-tn0">
  56. <rect key="frame" x="442" y="18" width="74" height="40"/>
  57. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" controlSize="large" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Cwi-rc-jJo">
  58. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  59. <font key="font" metaFont="system"/>
  60. <string key="keyEquivalent" base64-UTF8="YES">
  61. Gw
  62. </string>
  63. </buttonCell>
  64. <connections>
  65. <action selector="cancelAction:" target="-2" id="wY6-Kc-jlH"/>
  66. </connections>
  67. </button>
  68. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="g3X-bp-cOk">
  69. <rect key="frame" x="524" y="18" width="62" height="40"/>
  70. <buttonCell key="cell" type="push" title="Save" bezelStyle="rounded" alignment="center" controlSize="large" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="1p6-93-wpS">
  71. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  72. <font key="font" metaFont="system"/>
  73. <string key="keyEquivalent" base64-UTF8="YES">
  74. DQ
  75. </string>
  76. </buttonCell>
  77. <connections>
  78. <action selector="saveAction:" target="-2" id="afv-Os-jqV"/>
  79. </connections>
  80. </button>
  81. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="TZi-7Q-cko">
  82. <rect key="frame" x="14" y="18" width="64" height="40"/>
  83. <buttonCell key="cell" type="push" title="Clear" bezelStyle="rounded" alignment="center" controlSize="large" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="4lf-gu-65G">
  84. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  85. <font key="font" metaFont="system"/>
  86. <string key="keyEquivalent" base64-UTF8="YES">
  87. Gw
  88. </string>
  89. </buttonCell>
  90. <connections>
  91. <action selector="clearAction:" target="-2" id="vT6-OS-rI7"/>
  92. </connections>
  93. </button>
  94. </subviews>
  95. <constraints>
  96. <constraint firstAttribute="trailing" secondItem="tJ8-yk-pPF" secondAttribute="trailing" constant="20" id="Bx7-e0-x9j"/>
  97. <constraint firstItem="cLJ-ce-n9r" firstAttribute="centerX" secondItem="zML-EL-ksk" secondAttribute="centerX" id="Dwx-9V-BcH"/>
  98. <constraint firstItem="tJ8-yk-pPF" firstAttribute="top" secondItem="zML-EL-ksk" secondAttribute="top" constant="20" id="HxB-49-p3Y"/>
  99. <constraint firstAttribute="trailing" secondItem="g3X-bp-cOk" secondAttribute="trailing" constant="20" id="KSC-Qc-4ny"/>
  100. <constraint firstItem="g3X-bp-cOk" firstAttribute="leading" secondItem="0gd-xO-tn0" secondAttribute="trailing" constant="20" id="SUz-MU-2BN"/>
  101. <constraint firstAttribute="bottom" secondItem="0gd-xO-tn0" secondAttribute="bottom" constant="24" id="V3O-1g-ZdF"/>
  102. <constraint firstItem="TZi-7Q-cko" firstAttribute="leading" secondItem="zML-EL-ksk" secondAttribute="leading" constant="20" id="hIk-vv-d3P"/>
  103. <constraint firstAttribute="bottom" secondItem="g3X-bp-cOk" secondAttribute="bottom" constant="24" id="m09-9w-ku9"/>
  104. <constraint firstItem="cLJ-ce-n9r" firstAttribute="top" secondItem="tJ8-yk-pPF" secondAttribute="bottom" constant="24" id="mXP-aT-fnW"/>
  105. <constraint firstAttribute="bottom" secondItem="TZi-7Q-cko" secondAttribute="bottom" constant="24" id="wNu-Gb-nuv"/>
  106. </constraints>
  107. </customView>
  108. </subviews>
  109. <constraints>
  110. <constraint firstItem="zML-EL-ksk" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="0Cw-Ez-YSx"/>
  111. <constraint firstItem="zML-EL-ksk" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="0Ob-Md-iU1"/>
  112. <constraint firstAttribute="trailing" secondItem="zML-EL-ksk" secondAttribute="trailing" id="3yR-13-ieX"/>
  113. <constraint firstAttribute="bottom" secondItem="zML-EL-ksk" secondAttribute="bottom" id="zNt-6K-IxV"/>
  114. </constraints>
  115. <point key="canvasLocation" x="139" y="114"/>
  116. </customView>
  117. </objects>
  118. <resources>
  119. <image name="ImageNameDSignatClose" width="16" height="16"/>
  120. </resources>
  121. </document>