PDFSignatureViewController.xib 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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="retina4_7" 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="PDFSignatureViewController">
  12. <connections>
  13. <outlet property="createButton" destination="uBp-pf-whi" id="7cM-5g-xak"/>
  14. <outlet property="emptyView" destination="xVR-92-YAl" id="Hyp-bS-tLh"/>
  15. <outlet property="tableView" destination="fwk-ab-zZe" id="7MJ-2f-b0l"/>
  16. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  17. </connections>
  18. </placeholder>
  19. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  20. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  21. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" allowsSelectionDuringEditing="YES" allowsMultipleSelectionDuringEditing="YES" rowHeight="100" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="fwk-ab-zZe">
  25. <rect key="frame" x="0.0" y="0.0" width="375" height="617"/>
  26. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  27. <connections>
  28. <outlet property="dataSource" destination="-1" id="hzP-jR-sBg"/>
  29. <outlet property="delegate" destination="-1" id="8EI-j7-lwx"/>
  30. </connections>
  31. </tableView>
  32. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xVR-92-YAl">
  33. <rect key="frame" x="67.5" y="212.5" width="240" height="242"/>
  34. <subviews>
  35. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="signature_img_empty.png" translatesAutoresizingMaskIntoConstraints="NO" id="caN-px-tqJ">
  36. <rect key="frame" x="52" y="0.0" width="136" height="136"/>
  37. </imageView>
  38. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="You have not saved your signature yet." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="od8-fd-s9Z">
  39. <rect key="frame" x="0.0" y="146" width="240" height="41"/>
  40. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  41. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  42. <nil key="highlightedColor"/>
  43. </label>
  44. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uBp-pf-whi">
  45. <rect key="frame" x="33" y="207" width="174" height="35"/>
  46. <constraints>
  47. <constraint firstAttribute="width" constant="174" id="1AK-xx-s4X"/>
  48. <constraint firstAttribute="height" constant="35" id="Yyu-mL-GwX"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  51. <state key="normal" title="Create Signature" image="signature_icon_add.png">
  52. <color key="titleColor" red="0.0" green="0.47843137254901957" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  53. </state>
  54. <connections>
  55. <action selector="buttonItemClicked_Create:" destination="-1" eventType="touchUpInside" id="jKv-fw-s4i"/>
  56. </connections>
  57. </button>
  58. </subviews>
  59. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  60. <constraints>
  61. <constraint firstItem="uBp-pf-whi" firstAttribute="centerX" secondItem="xVR-92-YAl" secondAttribute="centerX" id="0yl-ng-o6G"/>
  62. <constraint firstAttribute="bottom" secondItem="uBp-pf-whi" secondAttribute="bottom" id="1Hp-B1-MTy"/>
  63. <constraint firstItem="uBp-pf-whi" firstAttribute="top" secondItem="od8-fd-s9Z" secondAttribute="bottom" constant="20" id="7XI-KS-hpO"/>
  64. <constraint firstItem="od8-fd-s9Z" firstAttribute="leading" secondItem="xVR-92-YAl" secondAttribute="leading" id="GgM-Br-ERW"/>
  65. <constraint firstItem="od8-fd-s9Z" firstAttribute="top" secondItem="caN-px-tqJ" secondAttribute="bottom" constant="10" id="VUB-s6-hm0"/>
  66. <constraint firstItem="caN-px-tqJ" firstAttribute="centerX" secondItem="xVR-92-YAl" secondAttribute="centerX" id="ZAc-rM-uYl"/>
  67. <constraint firstAttribute="trailing" secondItem="od8-fd-s9Z" secondAttribute="trailing" id="d5b-Kl-4LJ"/>
  68. <constraint firstItem="caN-px-tqJ" firstAttribute="top" secondItem="xVR-92-YAl" secondAttribute="top" id="jrn-pU-gPU"/>
  69. <constraint firstAttribute="width" constant="240" id="kSb-ZX-KB7"/>
  70. </constraints>
  71. </view>
  72. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tId-Yp-NMy">
  73. <rect key="frame" x="0.0" y="617" width="375" height="50"/>
  74. <color key="backgroundColor" red="0.22352941176470587" green="0.47450980392156861" blue="0.96470588235294119" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  75. <constraints>
  76. <constraint firstAttribute="height" constant="50" id="h5l-yO-fXK"/>
  77. </constraints>
  78. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  79. <state key="normal" title="Create Signature">
  80. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  81. </state>
  82. <connections>
  83. <action selector="buttonItemClicked_Create:" destination="-1" eventType="touchUpInside" id="ARx-87-plO"/>
  84. </connections>
  85. </button>
  86. </subviews>
  87. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  88. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  89. <constraints>
  90. <constraint firstItem="xVR-92-YAl" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="3xl-Xy-XN5"/>
  91. <constraint firstAttribute="trailing" secondItem="fwk-ab-zZe" secondAttribute="trailing" id="5ZS-EK-Ymz"/>
  92. <constraint firstItem="tId-Yp-NMy" firstAttribute="top" secondItem="fwk-ab-zZe" secondAttribute="bottom" id="ENO-he-LZu"/>
  93. <constraint firstItem="fwk-ab-zZe" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="FRu-O0-Ifk"/>
  94. <constraint firstItem="tId-Yp-NMy" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="RBg-9Y-lc0"/>
  95. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="tId-Yp-NMy" secondAttribute="trailing" id="gMo-zv-VrG"/>
  96. <constraint firstItem="fwk-ab-zZe" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="kjL-mr-P2r"/>
  97. <constraint firstItem="Q5M-cg-NOt" firstAttribute="bottom" secondItem="tId-Yp-NMy" secondAttribute="bottom" id="suN-2Y-3Oq"/>
  98. <constraint firstItem="xVR-92-YAl" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="w6P-bA-FeS"/>
  99. </constraints>
  100. <point key="canvasLocation" x="25.5" y="51.5"/>
  101. </view>
  102. </objects>
  103. <resources>
  104. <image name="signature_icon_add.png" width="35" height="35"/>
  105. <image name="signature_img_empty.png" width="136" height="136"/>
  106. </resources>
  107. </document>