JCHATPhotoBrowserViewController.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" 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" customClass="HMPhotoBrowserViewController">
  13. <connections>
  14. <outlet property="botToolHeight" destination="d9i-XI-8zo" id="sqJ-ym-Bv3"/>
  15. <outlet property="bottomBar" destination="kFf-nK-xIw" id="KsM-QL-aL4"/>
  16. <outlet property="collectionTop" destination="6eO-XS-gCP" id="ZUA-X0-pv3"/>
  17. <outlet property="collectionView" destination="JXb-Pq-rLu" id="dWI-X4-O3J"/>
  18. <outlet property="selectOriginBtn" destination="r7v-W6-hAw" id="59K-Vf-weP"/>
  19. <outlet property="selectStatusBtn" destination="h7r-O1-xnY" id="ZWx-g8-TFU"/>
  20. <outlet property="topBar" destination="pHZ-QK-ODH" id="0KO-1b-zc1"/>
  21. <outlet property="topToolHeight" destination="LV3-u9-83F" id="zx8-le-fse"/>
  22. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  23. </connections>
  24. </placeholder>
  25. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  26. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  27. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="JXb-Pq-rLu">
  31. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  32. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="n2f-eU-TsX">
  33. <size key="itemSize" width="50" height="50"/>
  34. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  35. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  36. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  37. </collectionViewFlowLayout>
  38. </collectionView>
  39. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pHZ-QK-ODH">
  40. <rect key="frame" x="0.0" y="0.0" width="375" height="64"/>
  41. <subviews>
  42. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="h7r-O1-xnY">
  43. <rect key="frame" x="330" y="20" width="35" height="35"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="35" id="FGK-Ty-IYm"/>
  46. <constraint firstAttribute="height" constant="35" id="JuF-Nq-bqm"/>
  47. </constraints>
  48. <state key="normal" image="photo.png"/>
  49. <state key="selected" image="photo_sel.png"/>
  50. <connections>
  51. <action selector="ClickToSelectImage:" destination="-1" eventType="touchUpInside" id="cXP-99-eev"/>
  52. </connections>
  53. </button>
  54. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BwJ-sQ-tcl">
  55. <rect key="frame" x="16" y="20" width="35" height="35"/>
  56. <constraints>
  57. <constraint firstAttribute="height" constant="35" id="Tc1-te-6LT"/>
  58. <constraint firstAttribute="width" constant="35" id="Wob-FJ-9Lz"/>
  59. </constraints>
  60. <state key="normal" title="返回">
  61. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  62. </state>
  63. <connections>
  64. <action selector="ClickToBack:" destination="-1" eventType="touchUpInside" id="PuS-Ti-KOL"/>
  65. </connections>
  66. </button>
  67. </subviews>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="64" id="LV3-u9-83F"/>
  70. <constraint firstAttribute="trailing" secondItem="h7r-O1-xnY" secondAttribute="trailing" constant="10" id="ZAe-ca-M3U"/>
  71. <constraint firstItem="h7r-O1-xnY" firstAttribute="centerY" secondItem="pHZ-QK-ODH" secondAttribute="centerY" constant="5" id="c95-Ho-wny"/>
  72. <constraint firstItem="BwJ-sQ-tcl" firstAttribute="leading" secondItem="pHZ-QK-ODH" secondAttribute="leading" constant="16" id="hwX-eg-efI"/>
  73. <constraint firstItem="BwJ-sQ-tcl" firstAttribute="centerY" secondItem="pHZ-QK-ODH" secondAttribute="centerY" constant="5" id="kMB-3p-cmc"/>
  74. </constraints>
  75. </view>
  76. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kFf-nK-xIw" userLabel="底部">
  77. <rect key="frame" x="0.0" y="622" width="375" height="45"/>
  78. <subviews>
  79. <button hidden="YES" opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="r7v-W6-hAw">
  80. <rect key="frame" x="16" y="8" width="53" height="30"/>
  81. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  82. <state key="normal" title="原图">
  83. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  84. </state>
  85. <state key="selected">
  86. <color key="titleColor" red="0.14356955301568139" green="0.8469199934554974" blue="0.041683228005373947" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  87. </state>
  88. <connections>
  89. <action selector="clickToSelectOriginImage:" destination="-1" eventType="touchUpInside" id="v81-eO-lKR"/>
  90. </connections>
  91. </button>
  92. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="r1S-Ne-YNh">
  93. <rect key="frame" x="327" y="5" width="35" height="35"/>
  94. <constraints>
  95. <constraint firstAttribute="width" constant="35" id="EzL-xo-rGa"/>
  96. <constraint firstAttribute="height" constant="35" id="pTC-ko-I8y"/>
  97. </constraints>
  98. <state key="normal" title="发送">
  99. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. </state>
  101. <connections>
  102. <action selector="ClickToSendImage:" destination="-1" eventType="touchUpInside" id="MfY-Vc-SiN"/>
  103. </connections>
  104. </button>
  105. </subviews>
  106. <constraints>
  107. <constraint firstAttribute="trailing" secondItem="r1S-Ne-YNh" secondAttribute="trailing" constant="13" id="JNX-Ue-cZp"/>
  108. <constraint firstItem="r1S-Ne-YNh" firstAttribute="centerY" secondItem="kFf-nK-xIw" secondAttribute="centerY" id="XMg-sQ-ayf"/>
  109. <constraint firstAttribute="height" constant="45" id="d9i-XI-8zo"/>
  110. </constraints>
  111. </view>
  112. </subviews>
  113. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  114. <constraints>
  115. <constraint firstAttribute="trailing" secondItem="kFf-nK-xIw" secondAttribute="trailing" id="6Wy-Cq-8Yc"/>
  116. <constraint firstItem="JXb-Pq-rLu" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="6eO-XS-gCP"/>
  117. <constraint firstItem="JXb-Pq-rLu" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="8Xb-hp-MwY"/>
  118. <constraint firstItem="pHZ-QK-ODH" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="9Vz-tD-lG9"/>
  119. <constraint firstItem="kFf-nK-xIw" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="Ahx-gc-8Cu"/>
  120. <constraint firstAttribute="bottom" secondItem="kFf-nK-xIw" secondAttribute="bottom" id="F8h-7H-xfe"/>
  121. <constraint firstAttribute="trailing" secondItem="JXb-Pq-rLu" secondAttribute="trailing" id="VJ3-Uc-afY"/>
  122. <constraint firstAttribute="bottom" secondItem="JXb-Pq-rLu" secondAttribute="bottom" id="pG4-jV-iVW"/>
  123. <constraint firstItem="pHZ-QK-ODH" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="rkt-ga-EV0"/>
  124. <constraint firstAttribute="trailing" secondItem="pHZ-QK-ODH" secondAttribute="trailing" id="xTs-eu-GMw"/>
  125. </constraints>
  126. <point key="canvasLocation" x="33.5" y="53.5"/>
  127. </view>
  128. </objects>
  129. <resources>
  130. <image name="photo.png" width="14" height="14"/>
  131. <image name="photo_sel.png" width="14" height="14"/>
  132. </resources>
  133. </document>