KMSignatureAnnotationViewController.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
  5. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  6. </dependencies>
  7. <objects>
  8. <customObject id="-2" userLabel="File's Owner" customClass="KMSignatureAnnotationViewController">
  9. <connections>
  10. <outlet property="collectionView" destination="czs-49-ygA" id="u73-ZB-6N0"/>
  11. <outlet property="emptyBox" destination="ban-ci-oTA" id="WRU-LX-HMX"/>
  12. <outlet property="emptyMinTipLabel" destination="vd7-mZ-jin" id="zNH-1P-a0Z"/>
  13. <outlet property="emptyTipLabel" destination="Tbj-Oa-HOw" id="Pej-dH-skC"/>
  14. <outlet property="signatureLabel" destination="2BZ-Qt-bmp" id="nPE-D6-BMO"/>
  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="227" height="415"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  23. <subviews>
  24. <customView translatesAutoresizingMaskIntoConstraints="NO" id="nIu-Gf-7rk">
  25. <rect key="frame" x="0.0" y="0.0" width="227" height="415"/>
  26. <subviews>
  27. <customView translatesAutoresizingMaskIntoConstraints="NO" id="LHW-Nt-uf2">
  28. <rect key="frame" x="0.0" y="365" width="227" height="50"/>
  29. <subviews>
  30. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="KUF-xf-qzQ">
  31. <rect key="frame" x="195" y="17" width="16" height="16"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="16" id="Po6-HM-leo"/>
  34. <constraint firstAttribute="width" constant="16" id="mwE-re-iZv"/>
  35. </constraints>
  36. <buttonCell key="cell" type="bevel" bezelStyle="rounded" image="signlist_add" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="nVD-Gp-kLW">
  37. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  38. <font key="font" metaFont="system"/>
  39. </buttonCell>
  40. <connections>
  41. <action selector="insertSignatureButton_Click:" target="-2" id="mFv-NR-mrz"/>
  42. </connections>
  43. </button>
  44. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2BZ-Qt-bmp">
  45. <rect key="frame" x="14" y="17" width="62" height="16"/>
  46. <textFieldCell key="cell" lineBreakMode="clipping" title="Signature" id="d1y-xG-Jfy">
  47. <font key="font" usesAppearanceFont="YES"/>
  48. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  49. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  50. </textFieldCell>
  51. </textField>
  52. </subviews>
  53. <constraints>
  54. <constraint firstItem="2BZ-Qt-bmp" firstAttribute="centerY" secondItem="LHW-Nt-uf2" secondAttribute="centerY" id="0wM-Ss-TLf"/>
  55. <constraint firstItem="2BZ-Qt-bmp" firstAttribute="leading" secondItem="LHW-Nt-uf2" secondAttribute="leading" constant="16" id="Ujg-9m-Hok"/>
  56. <constraint firstItem="KUF-xf-qzQ" firstAttribute="centerY" secondItem="LHW-Nt-uf2" secondAttribute="centerY" id="g0U-Rq-gCw"/>
  57. <constraint firstAttribute="height" constant="50" id="qyo-8u-igd"/>
  58. <constraint firstAttribute="trailing" secondItem="KUF-xf-qzQ" secondAttribute="trailing" constant="16" id="ryG-zy-qMz"/>
  59. </constraints>
  60. </customView>
  61. <scrollView wantsLayer="YES" borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="p8T-K4-khD">
  62. <rect key="frame" x="0.0" y="0.0" width="227" height="365"/>
  63. <clipView key="contentView" id="dR7-DP-o8M">
  64. <rect key="frame" x="0.0" y="0.0" width="227" height="365"/>
  65. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  66. <subviews>
  67. <collectionView id="czs-49-ygA">
  68. <rect key="frame" x="0.0" y="0.0" width="227" height="278"/>
  69. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  70. <collectionViewFlowLayout key="collectionViewLayout" id="w8X-BA-czF">
  71. <size key="itemSize" width="50" height="50"/>
  72. </collectionViewFlowLayout>
  73. <color key="primaryBackgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  74. </collectionView>
  75. </subviews>
  76. <color key="backgroundColor" red="1" green="0.99843658089999998" blue="0.99619259260000004" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  77. </clipView>
  78. <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="S8K-CG-jaw">
  79. <rect key="frame" x="-100" y="-100" width="233" height="15"/>
  80. <autoresizingMask key="autoresizingMask"/>
  81. </scroller>
  82. <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="kvH-mO-OTI" customClass="KBaseScroller">
  83. <rect key="frame" x="797" y="0.0" width="15" height="340"/>
  84. <autoresizingMask key="autoresizingMask"/>
  85. </scroller>
  86. </scrollView>
  87. <box borderType="none" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="ban-ci-oTA">
  88. <rect key="frame" x="0.0" y="0.0" width="227" height="415"/>
  89. <view key="contentView" id="dqW-kL-zjA">
  90. <rect key="frame" x="0.0" y="0.0" width="227" height="415"/>
  91. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  92. <subviews>
  93. <customView translatesAutoresizingMaskIntoConstraints="NO" id="7KQ-E7-UO5">
  94. <rect key="frame" x="30" y="-5" width="168" height="220"/>
  95. <subviews>
  96. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ODp-k8-Vi6">
  97. <rect key="frame" x="20" y="92" width="128" height="128"/>
  98. <constraints>
  99. <constraint firstAttribute="width" constant="128" id="Otw-eg-ksB"/>
  100. <constraint firstAttribute="height" constant="128" id="vXx-j3-fAR"/>
  101. </constraints>
  102. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="nosign" id="rfd-We-aPr"/>
  103. </imageView>
  104. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Tbj-Oa-HOw">
  105. <rect key="frame" x="39" y="68" width="90" height="16"/>
  106. <textFieldCell key="cell" lineBreakMode="clipping" title="No Signatures" id="K2k-0V-W78">
  107. <font key="font" metaFont="system"/>
  108. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  109. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  110. </textFieldCell>
  111. </textField>
  112. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vd7-mZ-jin">
  113. <rect key="frame" x="-2" y="18" width="172" height="48"/>
  114. <constraints>
  115. <constraint firstAttribute="width" constant="168" id="WK4-mV-ZGn"/>
  116. </constraints>
  117. <textFieldCell key="cell" alignment="center" title="Click the Add button in the upper right corner to create a new signature." id="Efj-7i-gM3">
  118. <font key="font" metaFont="system"/>
  119. <color key="textColor" name="tertiaryLabelColor" catalog="System" colorSpace="catalog"/>
  120. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  121. </textFieldCell>
  122. </textField>
  123. </subviews>
  124. <constraints>
  125. <constraint firstAttribute="height" constant="220" id="HGQ-9Z-mkz"/>
  126. <constraint firstItem="vd7-mZ-jin" firstAttribute="top" secondItem="Tbj-Oa-HOw" secondAttribute="bottom" constant="2" id="RDC-7U-RBW"/>
  127. <constraint firstItem="vd7-mZ-jin" firstAttribute="centerX" secondItem="7KQ-E7-UO5" secondAttribute="centerX" id="TXW-QZ-2YY"/>
  128. <constraint firstItem="Tbj-Oa-HOw" firstAttribute="top" secondItem="ODp-k8-Vi6" secondAttribute="bottom" constant="8" id="XyN-Ku-JBT"/>
  129. <constraint firstAttribute="width" constant="168" id="dky-LA-cA1"/>
  130. <constraint firstItem="ODp-k8-Vi6" firstAttribute="top" secondItem="7KQ-E7-UO5" secondAttribute="top" id="gpm-TK-hgt"/>
  131. <constraint firstItem="ODp-k8-Vi6" firstAttribute="centerX" secondItem="7KQ-E7-UO5" secondAttribute="centerX" id="rXz-DS-ZId"/>
  132. <constraint firstItem="Tbj-Oa-HOw" firstAttribute="centerX" secondItem="7KQ-E7-UO5" secondAttribute="centerX" id="yhB-jO-JZd"/>
  133. </constraints>
  134. </customView>
  135. </subviews>
  136. <constraints>
  137. <constraint firstItem="7KQ-E7-UO5" firstAttribute="centerX" secondItem="dqW-kL-zjA" secondAttribute="centerX" id="CJg-R7-ioD"/>
  138. <constraint firstItem="7KQ-E7-UO5" firstAttribute="top" secondItem="dqW-kL-zjA" secondAttribute="top" constant="200" id="Lxn-Ax-fMH"/>
  139. </constraints>
  140. </view>
  141. </box>
  142. </subviews>
  143. <constraints>
  144. <constraint firstItem="ban-ci-oTA" firstAttribute="top" secondItem="nIu-Gf-7rk" secondAttribute="top" id="7GR-uq-tkc"/>
  145. <constraint firstAttribute="bottom" secondItem="p8T-K4-khD" secondAttribute="bottom" id="7mM-kj-Arm"/>
  146. <constraint firstItem="p8T-K4-khD" firstAttribute="leading" secondItem="nIu-Gf-7rk" secondAttribute="leading" id="7py-XU-MWT"/>
  147. <constraint firstAttribute="trailing" secondItem="p8T-K4-khD" secondAttribute="trailing" id="Ayf-bF-frh"/>
  148. <constraint firstItem="LHW-Nt-uf2" firstAttribute="leading" secondItem="nIu-Gf-7rk" secondAttribute="leading" id="OPm-hq-IIz"/>
  149. <constraint firstItem="p8T-K4-khD" firstAttribute="top" secondItem="nIu-Gf-7rk" secondAttribute="top" constant="50" id="P4b-m6-dF9"/>
  150. <constraint firstAttribute="bottom" secondItem="ban-ci-oTA" secondAttribute="bottom" id="Vu4-Ij-AvT"/>
  151. <constraint firstAttribute="trailing" secondItem="ban-ci-oTA" secondAttribute="trailing" id="Y2n-i3-mZK"/>
  152. <constraint firstItem="ban-ci-oTA" firstAttribute="leading" secondItem="nIu-Gf-7rk" secondAttribute="leading" id="cJ0-bF-OeV"/>
  153. <constraint firstItem="LHW-Nt-uf2" firstAttribute="top" secondItem="nIu-Gf-7rk" secondAttribute="top" id="x7S-m2-r07"/>
  154. <constraint firstAttribute="trailing" secondItem="LHW-Nt-uf2" secondAttribute="trailing" id="xGb-EZ-MfT"/>
  155. </constraints>
  156. </customView>
  157. </subviews>
  158. <constraints>
  159. <constraint firstItem="nIu-Gf-7rk" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="081-nP-gV4"/>
  160. <constraint firstAttribute="bottom" secondItem="nIu-Gf-7rk" secondAttribute="bottom" id="PCM-OJ-jdJ"/>
  161. <constraint firstItem="nIu-Gf-7rk" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="X5e-jj-dba"/>
  162. <constraint firstAttribute="trailing" secondItem="nIu-Gf-7rk" secondAttribute="trailing" id="qJY-ts-WZZ"/>
  163. </constraints>
  164. <point key="canvasLocation" x="-44.5" y="171.5"/>
  165. </customView>
  166. </objects>
  167. <resources>
  168. <image name="nosign" width="128" height="128"/>
  169. <image name="signlist_add" width="16" height="16"/>
  170. </resources>
  171. </document>