PostView.xib 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16B2657" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina3_5" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
  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="Zrz-uS-eQa">
  15. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8gP-MM-Wzw">
  19. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EAf-cL-nxv" userLabel="Section">
  22. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  23. <subviews>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" restorationIdentifier="Title" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4ub-YM-i5l" userLabel="Title">
  25. <rect key="frame" x="0.0" y="0.0" width="320" height="24"/>
  26. <color key="backgroundColor" red="0.0" green="0.47058823529999999" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  27. <constraints>
  28. <constraint firstAttribute="height" constant="24" id="ziT-xG-miV"/>
  29. </constraints>
  30. <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
  31. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. <stackView opaque="NO" contentMode="scaleAspectFit" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4Ew-hE-42z" userLabel="Content">
  35. <rect key="frame" x="0.0" y="24" width="320" height="456"/>
  36. <subviews>
  37. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bdx-mT-bf3" userLabel="Post">
  38. <rect key="frame" x="8" y="8" width="304" height="282"/>
  39. <subviews>
  40. <stackView contentMode="scaleToFill" axis="vertical" spacing="6" translatesAutoresizingMaskIntoConstraints="NO" id="Rjp-Jo-7ns">
  41. <rect key="frame" x="0.0" y="0.0" width="304" height="290.5"/>
  42. <subviews>
  43. <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="PhotoPlaceholder" translatesAutoresizingMaskIntoConstraints="NO" id="vwR-EU-h1T" userLabel="Image">
  44. <rect key="frame" x="8" y="8" width="288" height="128"/>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="128" id="rXJ-QA-Rv2"/>
  47. </constraints>
  48. </imageView>
  49. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Text" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NoQ-Kc-oS7" userLabel="Text">
  50. <rect key="frame" x="8" y="142" width="288" height="20.5"/>
  51. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  52. <nil key="textColor"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L5f-5R-97B" userLabel="Image Extra">
  56. <rect key="frame" x="8" y="168.5" width="288" height="80"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="80" id="5I2-Lb-wuc"/>
  59. </constraints>
  60. </stackView>
  61. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="apC-ZW-0Hz" userLabel="Separator">
  62. <rect key="frame" x="8" y="254.5" width="288" height="1"/>
  63. <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="1" id="q7T-rB-2wq"/>
  66. </constraints>
  67. </view>
  68. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="254" text="Date" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lBQ-aX-qhL" userLabel="Date">
  69. <rect key="frame" x="8" y="261.5" width="288" height="21"/>
  70. <constraints>
  71. <constraint firstAttribute="height" constant="21" id="dIO-lU-cxb"/>
  72. </constraints>
  73. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  74. <nil key="textColor"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. </subviews>
  78. <color key="backgroundColor" red="1" green="0.3384228487" blue="0.42972784819999998" alpha="1" colorSpace="calibratedRGB"/>
  79. <constraints>
  80. <constraint firstItem="NoQ-Kc-oS7" firstAttribute="centerX" secondItem="Rjp-Jo-7ns" secondAttribute="centerX" id="Uun-Uf-b5D"/>
  81. <constraint firstItem="vwR-EU-h1T" firstAttribute="centerX" secondItem="Rjp-Jo-7ns" secondAttribute="centerX" id="hSS-0w-yVe"/>
  82. </constraints>
  83. <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
  84. </stackView>
  85. </subviews>
  86. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  87. <constraints>
  88. <constraint firstItem="Rjp-Jo-7ns" firstAttribute="leading" secondItem="bdx-mT-bf3" secondAttribute="leading" id="DEz-As-LIr"/>
  89. <constraint firstAttribute="trailing" secondItem="Rjp-Jo-7ns" secondAttribute="trailing" id="Jae-Jn-sUS"/>
  90. <constraint firstItem="Rjp-Jo-7ns" firstAttribute="top" secondItem="bdx-mT-bf3" secondAttribute="top" id="eDI-Du-PKD"/>
  91. </constraints>
  92. <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
  93. <userDefinedRuntimeAttributes>
  94. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  95. <color key="value" red="0.42745098040000001" green="0.41176470590000003" blue="0.56470588239999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  96. </userDefinedRuntimeAttribute>
  97. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  98. <real key="value" value="1"/>
  99. </userDefinedRuntimeAttribute>
  100. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  101. <real key="value" value="3"/>
  102. </userDefinedRuntimeAttribute>
  103. </userDefinedRuntimeAttributes>
  104. </view>
  105. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Gq3-pT-mgO" userLabel="Comments">
  106. <rect key="frame" x="8" y="300" width="304" height="148"/>
  107. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  108. <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
  109. <userDefinedRuntimeAttributes>
  110. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  111. <color key="value" red="0.42745098040000001" green="0.41176470590000003" blue="0.56470588239999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  112. </userDefinedRuntimeAttribute>
  113. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  114. <real key="value" value="1"/>
  115. </userDefinedRuntimeAttribute>
  116. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  117. <real key="value" value="3"/>
  118. </userDefinedRuntimeAttribute>
  119. </userDefinedRuntimeAttributes>
  120. </view>
  121. </subviews>
  122. <color key="backgroundColor" red="0.59607843140000005" green="0.7843137255" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  123. <constraints>
  124. <constraint firstItem="Gq3-pT-mgO" firstAttribute="top" secondItem="4Ew-hE-42z" secondAttribute="top" constant="300" id="icv-Bi-WIF"/>
  125. </constraints>
  126. <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
  127. </stackView>
  128. </subviews>
  129. <color key="backgroundColor" red="0.59607843140000005" green="0.7843137255" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  130. <constraints>
  131. <constraint firstItem="4Ew-hE-42z" firstAttribute="top" secondItem="4ub-YM-i5l" secondAttribute="bottom" id="LpO-qG-3GG"/>
  132. <constraint firstItem="4ub-YM-i5l" firstAttribute="top" secondItem="EAf-cL-nxv" secondAttribute="top" id="a0B-vU-axD"/>
  133. <constraint firstItem="4Ew-hE-42z" firstAttribute="leading" secondItem="EAf-cL-nxv" secondAttribute="leading" id="bB9-Gy-pWe"/>
  134. <constraint firstAttribute="trailing" secondItem="4Ew-hE-42z" secondAttribute="trailing" id="omw-IG-6Dr"/>
  135. <constraint firstItem="4ub-YM-i5l" firstAttribute="leading" secondItem="EAf-cL-nxv" secondAttribute="leading" id="sCz-QO-wFE"/>
  136. <constraint firstAttribute="bottom" secondItem="4Ew-hE-42z" secondAttribute="bottom" id="uhz-3p-MMC"/>
  137. <constraint firstItem="4ub-YM-i5l" firstAttribute="width" secondItem="EAf-cL-nxv" secondAttribute="width" id="x3t-Ce-Pdb"/>
  138. </constraints>
  139. <userDefinedRuntimeAttributes>
  140. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  141. <color key="value" red="0.0" green="0.0" blue="0.066666666669999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  142. </userDefinedRuntimeAttribute>
  143. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  144. <real key="value" value="1"/>
  145. </userDefinedRuntimeAttribute>
  146. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  147. <real key="value" value="8"/>
  148. </userDefinedRuntimeAttribute>
  149. </userDefinedRuntimeAttributes>
  150. </view>
  151. </subviews>
  152. <constraints>
  153. <constraint firstAttribute="bottom" secondItem="EAf-cL-nxv" secondAttribute="bottom" id="Ag8-hb-pRe"/>
  154. <constraint firstItem="EAf-cL-nxv" firstAttribute="leading" secondItem="8gP-MM-Wzw" secondAttribute="leading" id="Xi7-pP-tP3"/>
  155. <constraint firstAttribute="trailing" secondItem="EAf-cL-nxv" secondAttribute="trailing" id="beN-Kp-AUz"/>
  156. <constraint firstItem="EAf-cL-nxv" firstAttribute="centerX" secondItem="8gP-MM-Wzw" secondAttribute="centerX" id="pNj-KU-Urt"/>
  157. <constraint firstItem="EAf-cL-nxv" firstAttribute="top" secondItem="8gP-MM-Wzw" secondAttribute="top" id="s9c-Vv-GUn"/>
  158. <constraint firstItem="EAf-cL-nxv" firstAttribute="centerY" secondItem="8gP-MM-Wzw" secondAttribute="centerY" id="uKL-gy-4eG"/>
  159. </constraints>
  160. </scrollView>
  161. </subviews>
  162. <constraints>
  163. <constraint firstAttribute="bottom" secondItem="8gP-MM-Wzw" secondAttribute="bottom" id="4ip-yx-sWQ"/>
  164. <constraint firstItem="8gP-MM-Wzw" firstAttribute="top" secondItem="Zrz-uS-eQa" secondAttribute="top" id="BJ1-cB-ult"/>
  165. <constraint firstItem="8gP-MM-Wzw" firstAttribute="leading" secondItem="Zrz-uS-eQa" secondAttribute="leading" id="SCr-Jl-orE"/>
  166. <constraint firstAttribute="trailing" secondItem="8gP-MM-Wzw" secondAttribute="trailing" id="f4k-Vc-8xy"/>
  167. </constraints>
  168. <userDefinedRuntimeAttributes>
  169. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  170. <real key="value" value="0.0"/>
  171. </userDefinedRuntimeAttribute>
  172. </userDefinedRuntimeAttributes>
  173. <point key="canvasLocation" x="-410" y="74"/>
  174. </view>
  175. </objects>
  176. <resources>
  177. <image name="PhotoPlaceholder" width="170" height="108"/>
  178. </resources>
  179. </document>