ConfirmViewController.xib 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina5_9" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="ConfirmViewController" customModule="ALCameraViewController" customModuleProvider="target">
  10. <connections>
  11. <outlet property="cancelButton" destination="yRi-ES-LfN" id="PUm-mc-H7R"/>
  12. <outlet property="confirmButton" destination="ASf-ZD-cIs" id="mpH-Eg-IbA"/>
  13. <outlet property="cropOverlay" destination="lnA-tb-Sap" id="34E-zk-Axd"/>
  14. <outlet property="rotateButton" destination="Wyb-8e-TYr" id="3T7-ex-gnO"/>
  15. <outlet property="scrollView" destination="oUR-U3-uEM" id="rF0-ZM-RmA"/>
  16. <outlet property="view" destination="iN0-l3-epB" id="FcS-Dy-kqF"/>
  17. </connections>
  18. </placeholder>
  19. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  20. <view contentMode="scaleToFill" id="iN0-l3-epB">
  21. <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oUR-U3-uEM">
  25. <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
  26. </scrollView>
  27. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lnA-tb-Sap" customClass="CropOverlay" customModule="ALCameraViewController" customModuleProvider="target">
  28. <rect key="frame" x="15" y="195" width="345" height="309"/>
  29. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  30. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  31. </view>
  32. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ASf-ZD-cIs">
  33. <rect key="frame" x="101.66666666666669" y="732" width="64" height="64"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="64" id="J7n-mn-Ebe"/>
  36. <constraint firstAttribute="width" constant="64" id="YWt-e6-Bvy"/>
  37. </constraints>
  38. <state key="normal" image="confirmButton"/>
  39. </button>
  40. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wyb-8e-TYr">
  41. <rect key="frame" x="303" y="8" width="64" height="64"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="64" id="B5T-2l-ykm"/>
  44. <constraint firstAttribute="height" constant="64" id="dPw-t7-uXu"/>
  45. </constraints>
  46. <state key="normal" image="rotateButton"/>
  47. </button>
  48. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yRi-ES-LfN">
  49. <rect key="frame" x="225.66666666666663" y="732" width="64" height="64"/>
  50. <constraints>
  51. <constraint firstAttribute="height" constant="64" id="FdJ-mW-Tx6"/>
  52. <constraint firstAttribute="width" constant="64" id="urS-JS-i1S"/>
  53. </constraints>
  54. <state key="normal" image="retakeButton"/>
  55. </button>
  56. </subviews>
  57. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  58. <constraints>
  59. <constraint firstAttribute="bottom" secondItem="yRi-ES-LfN" secondAttribute="bottom" constant="16" id="7jo-lC-34t"/>
  60. <constraint firstItem="ASf-ZD-cIs" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" constant="-45" id="89L-rE-rmd"/>
  61. <constraint firstAttribute="bottom" secondItem="ASf-ZD-cIs" secondAttribute="bottom" constant="16" id="DZ5-WA-3ZQ"/>
  62. <constraint firstAttribute="bottom" secondItem="yRi-ES-LfN" secondAttribute="bottom" constant="60" id="H4a-3r-r5r"/>
  63. <constraint firstItem="Wyb-8e-TYr" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="8" id="IAo-1m-56l"/>
  64. <constraint firstItem="oUR-U3-uEM" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="J3N-Vr-euu"/>
  65. <constraint firstItem="ASf-ZD-cIs" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="Rwi-4K-QRb"/>
  66. <constraint firstItem="ASf-ZD-cIs" firstAttribute="bottom" secondItem="yRi-ES-LfN" secondAttribute="top" constant="-60" id="TLl-L0-yLb"/>
  67. <constraint firstItem="ASf-ZD-cIs" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" constant="-54" id="WSF-pa-4wb"/>
  68. <constraint firstAttribute="trailing" secondItem="Wyb-8e-TYr" secondAttribute="trailing" constant="8" id="hZW-wp-wrm"/>
  69. <constraint firstAttribute="bottom" secondItem="oUR-U3-uEM" secondAttribute="bottom" id="iw9-Cg-Kkk"/>
  70. <constraint firstItem="oUR-U3-uEM" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="kDN-mM-6KE"/>
  71. <constraint firstItem="yRi-ES-LfN" firstAttribute="leading" secondItem="ASf-ZD-cIs" secondAttribute="trailing" constant="60" id="m1F-XR-hgU"/>
  72. <constraint firstAttribute="trailing" secondItem="oUR-U3-uEM" secondAttribute="trailing" id="mL3-PM-TEd"/>
  73. <constraint firstItem="ASf-ZD-cIs" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" constant="-54" id="pNU-uB-Igt"/>
  74. <constraint firstItem="yRi-ES-LfN" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="v0q-tU-ywG"/>
  75. <constraint firstItem="yRi-ES-LfN" firstAttribute="top" secondItem="ASf-ZD-cIs" secondAttribute="top" id="xFS-1L-oa4"/>
  76. <constraint firstItem="yRi-ES-LfN" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" constant="45" id="xFc-F1-V7I"/>
  77. </constraints>
  78. <variation key="default">
  79. <mask key="constraints">
  80. <exclude reference="89L-rE-rmd"/>
  81. <exclude reference="DZ5-WA-3ZQ"/>
  82. <exclude reference="Rwi-4K-QRb"/>
  83. <exclude reference="TLl-L0-yLb"/>
  84. <exclude reference="WSF-pa-4wb"/>
  85. <exclude reference="pNU-uB-Igt"/>
  86. <exclude reference="7jo-lC-34t"/>
  87. <exclude reference="H4a-3r-r5r"/>
  88. <exclude reference="m1F-XR-hgU"/>
  89. <exclude reference="v0q-tU-ywG"/>
  90. <exclude reference="xFS-1L-oa4"/>
  91. <exclude reference="xFc-F1-V7I"/>
  92. </mask>
  93. </variation>
  94. <variation key="heightClass=compact">
  95. <mask key="subviews">
  96. <include reference="lnA-tb-Sap"/>
  97. </mask>
  98. <mask key="constraints">
  99. <include reference="Rwi-4K-QRb"/>
  100. <include reference="TLl-L0-yLb"/>
  101. <include reference="pNU-uB-Igt"/>
  102. <include reference="v0q-tU-ywG"/>
  103. </mask>
  104. </variation>
  105. <variation key="heightClass=regular-widthClass=compact">
  106. <mask key="subviews">
  107. <include reference="lnA-tb-Sap"/>
  108. </mask>
  109. <mask key="constraints">
  110. <include reference="DZ5-WA-3ZQ"/>
  111. <include reference="WSF-pa-4wb"/>
  112. <include reference="7jo-lC-34t"/>
  113. <include reference="m1F-XR-hgU"/>
  114. </mask>
  115. </variation>
  116. <variation key="heightClass=regular-widthClass=regular">
  117. <mask key="constraints">
  118. <include reference="89L-rE-rmd"/>
  119. <include reference="H4a-3r-r5r"/>
  120. <include reference="xFS-1L-oa4"/>
  121. <include reference="xFc-F1-V7I"/>
  122. </mask>
  123. </variation>
  124. <point key="canvasLocation" x="133.59999999999999" y="74.630541871921181"/>
  125. </view>
  126. </objects>
  127. <resources>
  128. <image name="confirmButton" width="44" height="44"/>
  129. <image name="retakeButton" width="44" height="44"/>
  130. <image name="rotateButton" width="44" height="44"/>
  131. </resources>
  132. </document>