PostView.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" 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="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="PostView" customModule="app">
  14. <connections>
  15. <outlet property="container" destination="Zrz-uS-eQa" id="UV8-P9-jMA"/>
  16. <outlet property="date" destination="lBQ-aX-qhL" id="esh-vp-DgK"/>
  17. <outlet property="image" destination="vwR-EU-h1T" id="ir7-PQ-Awq"/>
  18. <outlet property="scrollView" destination="8gP-MM-Wzw" id="ZMT-Yf-IoY"/>
  19. <outlet property="text" destination="NoQ-Kc-oS7" id="dkU-HT-A7G"/>
  20. <outlet property="title" destination="4ub-YM-i5l" id="Sfa-dT-b2M"/>
  21. </connections>
  22. </placeholder>
  23. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  24. <view autoresizesSubviews="NO" contentMode="scaleToFill" id="Zrz-uS-eQa" userLabel="Container">
  25. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <navigationBar contentMode="scaleToFill" translucent="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PAV-4K-mGS">
  29. <rect key="frame" x="0.0" y="0.0" width="320" height="65"/>
  30. <color key="backgroundColor" red="0.0" green="0.47058823529999999" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="65" id="Mzu-Ot-Xsu"/>
  33. </constraints>
  34. <color key="barTintColor" red="0.0" green="0.47058823529999999" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  35. <textAttributes key="titleTextAttributes">
  36. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. </textAttributes>
  38. <items>
  39. <navigationItem title="Gasteizko Margolariak" prompt="&lt;" id="rxh-zx-B6G">
  40. <barButtonItem key="backBarButtonItem" image="Logo" width="10" id="lPX-Uf-eO6"/>
  41. </navigationItem>
  42. </items>
  43. </navigationBar>
  44. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ddf-jU-bmv">
  45. <rect key="frame" x="0.0" y="65" width="320" height="415"/>
  46. <subviews>
  47. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" bounces="NO" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8gP-MM-Wzw">
  48. <rect key="frame" x="0.0" y="0.0" width="320" height="415"/>
  49. <subviews>
  50. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EAf-cL-nxv" userLabel="Section">
  51. <rect key="frame" x="10" y="10" width="300" height="995"/>
  52. <subviews>
  53. <label opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" restorationIdentifier="Title" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4ub-YM-i5l" userLabel="Title">
  54. <rect key="frame" x="0.0" y="0.0" width="300" height="30"/>
  55. <color key="backgroundColor" red="0.0" green="0.47058823529999999" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  56. <constraints>
  57. <constraint firstAttribute="height" constant="30" id="fut-qW-Wnl"/>
  58. </constraints>
  59. <fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
  60. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  61. <nil key="highlightedColor"/>
  62. </label>
  63. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4Ew-hE-42z" userLabel="Content">
  64. <rect key="frame" x="0.0" y="30" width="300" height="965"/>
  65. <subviews>
  66. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bdx-mT-bf3" userLabel="Post">
  67. <rect key="frame" x="8" y="8" width="284" height="949"/>
  68. <subviews>
  69. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="PhotoPlaceholder" translatesAutoresizingMaskIntoConstraints="NO" id="vwR-EU-h1T" userLabel="Image">
  70. <rect key="frame" x="0.0" y="10" width="284" height="71"/>
  71. <constraints>
  72. <constraint firstAttribute="height" constant="71" id="4BV-Jd-Ww2"/>
  73. </constraints>
  74. </imageView>
  75. <label opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Text" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NoQ-Kc-oS7" userLabel="Text">
  76. <rect key="frame" x="14" y="91" width="256" height="826"/>
  77. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  78. <nil key="textColor"/>
  79. <nil key="highlightedColor"/>
  80. </label>
  81. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="apC-ZW-0Hz" userLabel="Separator">
  82. <rect key="frame" x="14" y="917" width="256" height="2"/>
  83. <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
  84. <constraints>
  85. <constraint firstAttribute="height" constant="2" id="tE3-Ut-UCy"/>
  86. </constraints>
  87. </view>
  88. <label opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="254" text="Date" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lBQ-aX-qhL" userLabel="Date">
  89. <rect key="frame" x="14" y="929" width="256" height="20"/>
  90. <constraints>
  91. <constraint firstAttribute="height" constant="20" id="zwI-Q6-fWu"/>
  92. </constraints>
  93. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  94. <nil key="textColor"/>
  95. <nil key="highlightedColor"/>
  96. </label>
  97. </subviews>
  98. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  99. <constraints>
  100. <constraint firstItem="apC-ZW-0Hz" firstAttribute="width" secondItem="bdx-mT-bf3" secondAttribute="width" multiplier="0.9" id="1nL-dg-TUP"/>
  101. <constraint firstItem="vwR-EU-h1T" firstAttribute="width" secondItem="bdx-mT-bf3" secondAttribute="width" id="2XE-eD-5V8"/>
  102. <constraint firstItem="lBQ-aX-qhL" firstAttribute="centerX" secondItem="bdx-mT-bf3" secondAttribute="centerX" id="H1g-3b-iNj"/>
  103. <constraint firstItem="apC-ZW-0Hz" firstAttribute="top" secondItem="NoQ-Kc-oS7" secondAttribute="bottom" id="K0w-rP-4qH"/>
  104. <constraint firstItem="NoQ-Kc-oS7" firstAttribute="centerX" secondItem="bdx-mT-bf3" secondAttribute="centerX" id="QYt-1R-wVI"/>
  105. <constraint firstItem="lBQ-aX-qhL" firstAttribute="top" secondItem="apC-ZW-0Hz" secondAttribute="bottom" constant="10" id="W2l-T4-svN"/>
  106. <constraint firstItem="vwR-EU-h1T" firstAttribute="centerX" secondItem="bdx-mT-bf3" secondAttribute="centerX" id="btS-UM-rRg"/>
  107. <constraint firstItem="lBQ-aX-qhL" firstAttribute="width" secondItem="bdx-mT-bf3" secondAttribute="width" multiplier="0.9" id="gAq-6Y-nsC"/>
  108. <constraint firstAttribute="bottom" secondItem="lBQ-aX-qhL" secondAttribute="bottom" id="jEm-3W-uam"/>
  109. <constraint firstItem="NoQ-Kc-oS7" firstAttribute="top" secondItem="vwR-EU-h1T" secondAttribute="bottom" constant="10" id="kZf-Ee-OA5"/>
  110. <constraint firstItem="NoQ-Kc-oS7" firstAttribute="width" secondItem="bdx-mT-bf3" secondAttribute="width" multiplier="0.9" id="mep-Bq-TlX"/>
  111. <constraint firstItem="vwR-EU-h1T" firstAttribute="top" secondItem="bdx-mT-bf3" secondAttribute="top" constant="10" id="q68-T2-WhW"/>
  112. <constraint firstItem="apC-ZW-0Hz" firstAttribute="centerX" secondItem="bdx-mT-bf3" secondAttribute="centerX" id="sje-zd-xsn"/>
  113. </constraints>
  114. <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
  115. <userDefinedRuntimeAttributes>
  116. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  117. <color key="value" red="0.42745098040000001" green="0.41176470590000003" blue="0.56470588239999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  118. </userDefinedRuntimeAttribute>
  119. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  120. <real key="value" value="1"/>
  121. </userDefinedRuntimeAttribute>
  122. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  123. <real key="value" value="3"/>
  124. </userDefinedRuntimeAttribute>
  125. </userDefinedRuntimeAttributes>
  126. </view>
  127. </subviews>
  128. <color key="backgroundColor" red="0.59607843140000005" green="0.7843137255" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  129. <edgeInsets key="layoutMargins" top="8" left="8" bottom="8" right="8"/>
  130. </stackView>
  131. </subviews>
  132. <color key="backgroundColor" red="0.59607843140000005" green="0.7843137255" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  133. <constraints>
  134. <constraint firstAttribute="bottom" secondItem="4Ew-hE-42z" secondAttribute="bottom" id="8xe-zl-Jyx"/>
  135. <constraint firstItem="4Ew-hE-42z" firstAttribute="top" secondItem="4ub-YM-i5l" secondAttribute="bottom" id="8yo-24-cLL"/>
  136. <constraint firstItem="4ub-YM-i5l" firstAttribute="centerX" secondItem="EAf-cL-nxv" secondAttribute="centerX" id="8yz-k3-wqN"/>
  137. <constraint firstItem="4Ew-hE-42z" firstAttribute="centerX" secondItem="EAf-cL-nxv" secondAttribute="centerX" id="KNL-Pk-MCQ"/>
  138. <constraint firstItem="4Ew-hE-42z" firstAttribute="width" secondItem="EAf-cL-nxv" secondAttribute="width" id="Pve-o4-l0n"/>
  139. <constraint firstItem="4ub-YM-i5l" firstAttribute="top" secondItem="EAf-cL-nxv" secondAttribute="top" id="VbF-iv-LQw"/>
  140. <constraint firstItem="4ub-YM-i5l" firstAttribute="width" secondItem="EAf-cL-nxv" secondAttribute="width" id="kl8-LB-N8m"/>
  141. </constraints>
  142. <edgeInsets key="layoutMargins" top="10" left="10" bottom="10" right="10"/>
  143. <userDefinedRuntimeAttributes>
  144. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  145. <color key="value" red="0.0" green="0.0" blue="0.066666666669999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  146. </userDefinedRuntimeAttribute>
  147. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  148. <real key="value" value="1"/>
  149. </userDefinedRuntimeAttribute>
  150. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  151. <real key="value" value="8"/>
  152. </userDefinedRuntimeAttribute>
  153. </userDefinedRuntimeAttributes>
  154. </view>
  155. </subviews>
  156. <color key="backgroundColor" red="0.70980392160000005" green="0.82745098039999998" blue="0.8980392157" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  157. <constraints>
  158. <constraint firstItem="EAf-cL-nxv" firstAttribute="trailing" secondItem="8gP-MM-Wzw" secondAttribute="trailing" constant="10" id="Bs5-Ix-L7j"/>
  159. <constraint firstItem="EAf-cL-nxv" firstAttribute="centerX" secondItem="8gP-MM-Wzw" secondAttribute="centerX" id="Dqb-gr-992"/>
  160. <constraint firstAttribute="bottom" secondItem="EAf-cL-nxv" secondAttribute="bottom" constant="10" id="VEr-js-MFG"/>
  161. <constraint firstItem="EAf-cL-nxv" firstAttribute="leading" secondItem="8gP-MM-Wzw" secondAttribute="leading" constant="10" id="btd-tx-GDb"/>
  162. <constraint firstItem="EAf-cL-nxv" firstAttribute="top" secondItem="8gP-MM-Wzw" secondAttribute="top" constant="10" id="gEq-Ah-CKD"/>
  163. </constraints>
  164. <edgeInsets key="layoutMargins" top="10" left="10" bottom="10" right="10"/>
  165. <userDefinedRuntimeAttributes>
  166. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  167. <real key="value" value="0.0"/>
  168. </userDefinedRuntimeAttribute>
  169. </userDefinedRuntimeAttributes>
  170. </scrollView>
  171. </subviews>
  172. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  173. <constraints>
  174. <constraint firstAttribute="bottom" secondItem="8gP-MM-Wzw" secondAttribute="bottom" id="0kq-Hc-MHr"/>
  175. <constraint firstItem="8gP-MM-Wzw" firstAttribute="width" secondItem="ddf-jU-bmv" secondAttribute="width" id="4cp-Pu-rfb"/>
  176. <constraint firstItem="8gP-MM-Wzw" firstAttribute="centerX" secondItem="ddf-jU-bmv" secondAttribute="centerX" id="B8m-AN-8nq"/>
  177. <constraint firstItem="8gP-MM-Wzw" firstAttribute="top" secondItem="ddf-jU-bmv" secondAttribute="top" id="YeT-82-f8z"/>
  178. </constraints>
  179. <userDefinedRuntimeAttributes>
  180. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  181. <color key="value" red="0.70980392160000005" green="0.82745098039999998" blue="0.8980392157" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  182. </userDefinedRuntimeAttribute>
  183. </userDefinedRuntimeAttributes>
  184. </view>
  185. </subviews>
  186. <color key="backgroundColor" red="0.70980392160000005" green="0.82745098039999998" blue="0.8980392157" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  187. <constraints>
  188. <constraint firstAttribute="bottom" secondItem="ddf-jU-bmv" secondAttribute="bottom" id="Etw-0U-xNr"/>
  189. <constraint firstItem="ddf-jU-bmv" firstAttribute="top" secondItem="PAV-4K-mGS" secondAttribute="bottom" id="IQQ-AG-FH0"/>
  190. <constraint firstItem="PAV-4K-mGS" firstAttribute="width" secondItem="Zrz-uS-eQa" secondAttribute="width" id="X10-Wc-1Nv"/>
  191. <constraint firstItem="ddf-jU-bmv" firstAttribute="centerX" secondItem="Zrz-uS-eQa" secondAttribute="centerX" id="c3K-sT-3Ej"/>
  192. <constraint firstItem="ddf-jU-bmv" firstAttribute="width" secondItem="Zrz-uS-eQa" secondAttribute="width" id="fWc-iw-1xX"/>
  193. <constraint firstItem="PAV-4K-mGS" firstAttribute="centerX" secondItem="Zrz-uS-eQa" secondAttribute="centerX" id="ss7-oW-bsF"/>
  194. <constraint firstItem="PAV-4K-mGS" firstAttribute="top" secondItem="Zrz-uS-eQa" secondAttribute="top" id="ys1-cd-qmE"/>
  195. </constraints>
  196. <userDefinedRuntimeAttributes>
  197. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  198. <real key="value" value="0.0"/>
  199. </userDefinedRuntimeAttribute>
  200. </userDefinedRuntimeAttributes>
  201. <point key="canvasLocation" x="-410" y="74"/>
  202. </view>
  203. </objects>
  204. <resources>
  205. <image name="Logo" width="83" height="83"/>
  206. <image name="PhotoPlaceholder" width="170" height="108"/>
  207. </resources>
  208. </document>