猎豆优选

ZLPhotoActionSheet.xib 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="uFx-aZ-mnT" customClass="ZLPhotoActionSheet">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <subviews>
  18. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NwQ-VQ-65C">
  19. <rect key="frame" x="0.0" y="367" width="375" height="300"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QJz-3P-fHI">
  22. <rect key="frame" x="0.0" y="0.0" width="375" height="162"/>
  23. <subviews>
  24. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="kyz-US-a4b">
  25. <rect key="frame" x="0.0" y="3" width="375" height="155"/>
  26. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="mGN-oc-vom">
  27. <size key="itemSize" width="50" height="50"/>
  28. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  29. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  30. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  31. </collectionViewFlowLayout>
  32. <connections>
  33. <outlet property="dataSource" destination="uFx-aZ-mnT" id="I5N-au-MqZ"/>
  34. <outlet property="delegate" destination="uFx-aZ-mnT" id="YgX-F5-nzF"/>
  35. </connections>
  36. </collectionView>
  37. </subviews>
  38. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  39. <constraints>
  40. <constraint firstAttribute="trailing" secondItem="kyz-US-a4b" secondAttribute="trailing" id="29O-d0-ovG"/>
  41. <constraint firstAttribute="height" constant="162" id="YNn-5g-0pR"/>
  42. <constraint firstItem="kyz-US-a4b" firstAttribute="leading" secondItem="QJz-3P-fHI" secondAttribute="leading" id="YiH-1t-MhH"/>
  43. <constraint firstAttribute="bottom" secondItem="kyz-US-a4b" secondAttribute="bottom" constant="4" id="jf7-jX-XJ1"/>
  44. <constraint firstItem="kyz-US-a4b" firstAttribute="top" secondItem="QJz-3P-fHI" secondAttribute="top" constant="3" id="wsd-e9-fF0"/>
  45. </constraints>
  46. </view>
  47. <view alpha="0.40000000596046448" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2bR-eZ-Ysy">
  48. <rect key="frame" x="0.0" y="162" width="375" height="1"/>
  49. <color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  50. <constraints>
  51. <constraint firstAttribute="height" constant="1" id="rzd-KE-9pP"/>
  52. </constraints>
  53. </view>
  54. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3c7-2D-ETF">
  55. <rect key="frame" x="0.0" y="209" width="375" height="45"/>
  56. <constraints>
  57. <constraint firstAttribute="height" constant="45" id="J9w-f7-IG8"/>
  58. </constraints>
  59. <state key="normal" title="相册">
  60. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. </state>
  62. <connections>
  63. <action selector="btnPhotoLibrary_Click:" destination="uFx-aZ-mnT" eventType="touchUpInside" id="rnP-ai-Mab"/>
  64. </connections>
  65. </button>
  66. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Seh-ZL-uBR">
  67. <rect key="frame" x="0.0" y="163" width="375" height="45"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="45" id="Hay-b7-Bza"/>
  70. </constraints>
  71. <state key="normal" title="拍照">
  72. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  73. </state>
  74. <connections>
  75. <action selector="btnCamera_Click:" destination="uFx-aZ-mnT" eventType="touchUpInside" id="E1c-Kb-uCs"/>
  76. </connections>
  77. </button>
  78. <view alpha="0.40000000596046448" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YjW-J5-10l">
  79. <rect key="frame" x="0.0" y="208" width="375" height="1"/>
  80. <color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  81. <constraints>
  82. <constraint firstAttribute="height" constant="1" id="IXP-DI-D76"/>
  83. </constraints>
  84. </view>
  85. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0gN-s7-KDC">
  86. <rect key="frame" x="0.0" y="255" width="375" height="45"/>
  87. <constraints>
  88. <constraint firstAttribute="height" constant="45" id="gys-VL-LTC"/>
  89. </constraints>
  90. <state key="normal" title="取消">
  91. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  92. </state>
  93. <connections>
  94. <action selector="btnCancel_Click:" destination="uFx-aZ-mnT" eventType="touchUpInside" id="wZx-1X-pzG"/>
  95. </connections>
  96. </button>
  97. <view alpha="0.40000000596046448" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="imw-yT-rXc">
  98. <rect key="frame" x="0.0" y="254" width="375" height="1"/>
  99. <color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. <constraints>
  101. <constraint firstAttribute="height" constant="1" id="GNF-Ae-JJr"/>
  102. </constraints>
  103. </view>
  104. </subviews>
  105. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  106. <constraints>
  107. <constraint firstAttribute="trailing" secondItem="imw-yT-rXc" secondAttribute="trailing" id="1v0-ey-N7p"/>
  108. <constraint firstItem="QJz-3P-fHI" firstAttribute="leading" secondItem="NwQ-VQ-65C" secondAttribute="leading" id="2uQ-aW-2yV"/>
  109. <constraint firstAttribute="trailing" secondItem="2bR-eZ-Ysy" secondAttribute="trailing" id="4y9-WD-ctA"/>
  110. <constraint firstAttribute="trailing" secondItem="QJz-3P-fHI" secondAttribute="trailing" id="8oS-Xw-eAw"/>
  111. <constraint firstItem="YjW-J5-10l" firstAttribute="leading" secondItem="NwQ-VQ-65C" secondAttribute="leading" id="EEI-he-19E"/>
  112. <constraint firstItem="3c7-2D-ETF" firstAttribute="leading" secondItem="NwQ-VQ-65C" secondAttribute="leading" id="EFD-Nx-qzv"/>
  113. <constraint firstItem="imw-yT-rXc" firstAttribute="leading" secondItem="NwQ-VQ-65C" secondAttribute="leading" id="Eca-Rq-FzR"/>
  114. <constraint firstItem="0gN-s7-KDC" firstAttribute="top" secondItem="imw-yT-rXc" secondAttribute="bottom" id="ElA-3m-yoX"/>
  115. <constraint firstItem="imw-yT-rXc" firstAttribute="top" secondItem="3c7-2D-ETF" secondAttribute="bottom" id="GWn-Mt-Hgd"/>
  116. <constraint firstItem="Seh-ZL-uBR" firstAttribute="top" secondItem="2bR-eZ-Ysy" secondAttribute="bottom" id="Irb-Hb-XrJ"/>
  117. <constraint firstAttribute="bottom" secondItem="0gN-s7-KDC" secondAttribute="bottom" id="J9p-km-kNZ"/>
  118. <constraint firstAttribute="height" constant="300" id="L15-E0-U0K"/>
  119. <constraint firstItem="3c7-2D-ETF" firstAttribute="top" secondItem="YjW-J5-10l" secondAttribute="bottom" id="PLA-32-rEM"/>
  120. <constraint firstAttribute="trailing" secondItem="0gN-s7-KDC" secondAttribute="trailing" id="QTb-92-jkt"/>
  121. <constraint firstItem="QJz-3P-fHI" firstAttribute="top" secondItem="NwQ-VQ-65C" secondAttribute="top" id="SHJ-7J-NXO"/>
  122. <constraint firstItem="2bR-eZ-Ysy" firstAttribute="leading" secondItem="NwQ-VQ-65C" secondAttribute="leading" id="UpV-Ah-Zdp"/>
  123. <constraint firstAttribute="trailing" secondItem="3c7-2D-ETF" secondAttribute="trailing" id="WC9-16-QIw"/>
  124. <constraint firstItem="2bR-eZ-Ysy" firstAttribute="top" secondItem="QJz-3P-fHI" secondAttribute="bottom" id="cSR-Yb-zua"/>
  125. <constraint firstAttribute="trailing" secondItem="Seh-ZL-uBR" secondAttribute="trailing" id="djA-1t-n7E"/>
  126. <constraint firstItem="Seh-ZL-uBR" firstAttribute="leading" secondItem="NwQ-VQ-65C" secondAttribute="leading" id="fpj-U6-Kv1"/>
  127. <constraint firstItem="YjW-J5-10l" firstAttribute="top" secondItem="Seh-ZL-uBR" secondAttribute="bottom" id="niD-xp-eOm"/>
  128. <constraint firstAttribute="trailing" secondItem="YjW-J5-10l" secondAttribute="trailing" id="qRd-uT-BxH"/>
  129. <constraint firstItem="0gN-s7-KDC" firstAttribute="leading" secondItem="NwQ-VQ-65C" secondAttribute="leading" id="z6i-8s-ZiH"/>
  130. </constraints>
  131. <variation key="default">
  132. <mask key="constraints">
  133. <exclude reference="L15-E0-U0K"/>
  134. </mask>
  135. </variation>
  136. </view>
  137. </subviews>
  138. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="0.14999999999999999" colorSpace="custom" customColorSpace="sRGB"/>
  139. <constraints>
  140. <constraint firstAttribute="bottom" secondItem="NwQ-VQ-65C" secondAttribute="bottom" id="4AE-LH-xns"/>
  141. <constraint firstItem="NwQ-VQ-65C" firstAttribute="leading" secondItem="uFx-aZ-mnT" secondAttribute="leading" id="Wlz-Qi-izY"/>
  142. <constraint firstAttribute="trailing" secondItem="NwQ-VQ-65C" secondAttribute="trailing" id="e7G-V3-qro"/>
  143. </constraints>
  144. <connections>
  145. <outlet property="baseView" destination="NwQ-VQ-65C" id="NHE-rh-QeU"/>
  146. <outlet property="btnAblum" destination="3c7-2D-ETF" id="o6A-X8-uuZ"/>
  147. <outlet property="btnCamera" destination="Seh-ZL-uBR" id="yL8-H8-NKv"/>
  148. <outlet property="btnCancel" destination="0gN-s7-KDC" id="MUt-WS-Vf4"/>
  149. <outlet property="collectionView" destination="kyz-US-a4b" id="5ue-oG-KUP"/>
  150. <outlet property="verBottomSpace" destination="J9p-km-kNZ" id="6WF-6U-ewk"/>
  151. <outlet property="verColHeight" destination="YNn-5g-0pR" id="7Ue-Sg-Tzf"/>
  152. </connections>
  153. <point key="canvasLocation" x="172" y="368"/>
  154. </view>
  155. </objects>
  156. </document>