BackgroundView.xib 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  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="PDFBackgroundView"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="PDFBackgroundView">
  15. <rect key="frame" x="0.0" y="0.0" width="393" height="80"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Color" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Asj-Uy-gnl">
  19. <rect key="frame" x="10" y="5" width="50" height="30"/>
  20. <constraints>
  21. <constraint firstAttribute="height" constant="30" id="ZmZ-ri-Alw"/>
  22. <constraint firstAttribute="width" constant="50" id="uDa-92-bau"/>
  23. </constraints>
  24. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  25. <nil key="textColor"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Image" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="flL-Wj-qvU">
  29. <rect key="frame" x="20" y="40" width="140" height="30"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="140" id="jky-Ox-ecJ"/>
  32. <constraint firstAttribute="height" constant="30" id="sWi-8f-vx9"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  35. <nil key="textColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ilf-hc-vDz">
  39. <rect key="frame" x="355" y="5" width="28" height="28"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="28" id="CWi-mv-IPJ"/>
  42. <constraint firstAttribute="width" constant="28" id="o4m-06-FPb"/>
  43. </constraints>
  44. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  45. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  46. <buttonConfiguration key="configuration" style="filled">
  47. <backgroundConfiguration key="background" cornerRadius="14">
  48. <color key="backgroundColor" systemColor="systemPinkColor"/>
  49. </backgroundConfiguration>
  50. <fontDescription key="titleFontDescription" type="system" pointSize="15"/>
  51. </buttonConfiguration>
  52. </button>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oel-2u-BwM">
  54. <rect key="frame" x="317" y="5" width="28" height="28"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="28" id="AiU-sc-hZs"/>
  57. <constraint firstAttribute="width" constant="28" id="ghQ-GR-fum"/>
  58. </constraints>
  59. <state key="normal" title="Button"/>
  60. <buttonConfiguration key="configuration" style="filled">
  61. <backgroundConfiguration key="background" cornerRadius="14">
  62. <color key="backgroundColor" systemColor="systemOrangeColor"/>
  63. </backgroundConfiguration>
  64. </buttonConfiguration>
  65. </button>
  66. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5Bx-Z5-1mL">
  67. <rect key="frame" x="279" y="5" width="28" height="28"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="28" id="6KJ-yL-LRE"/>
  70. <constraint firstAttribute="width" constant="28" id="D5G-Zm-19h"/>
  71. </constraints>
  72. <state key="normal" title="Button"/>
  73. <buttonConfiguration key="configuration" style="filled">
  74. <backgroundConfiguration key="background" cornerRadius="14">
  75. <color key="backgroundColor" systemColor="systemYellowColor"/>
  76. </backgroundConfiguration>
  77. </buttonConfiguration>
  78. </button>
  79. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="DT2-6t-Yve">
  80. <rect key="frame" x="241" y="5" width="28" height="28"/>
  81. <constraints>
  82. <constraint firstAttribute="height" constant="28" id="5Ub-AJ-C65"/>
  83. <constraint firstAttribute="width" constant="28" id="Icc-0o-nxi"/>
  84. </constraints>
  85. <state key="normal" title="Button"/>
  86. <buttonConfiguration key="configuration" style="filled">
  87. <backgroundConfiguration key="background" cornerRadius="14">
  88. <color key="backgroundColor" systemColor="systemGreenColor"/>
  89. </backgroundConfiguration>
  90. </buttonConfiguration>
  91. </button>
  92. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ofq-RN-o4S">
  93. <rect key="frame" x="203" y="5" width="28" height="28"/>
  94. <constraints>
  95. <constraint firstAttribute="height" constant="28" id="75f-GH-3Le"/>
  96. <constraint firstAttribute="width" constant="28" id="jg9-oA-YpQ"/>
  97. </constraints>
  98. <state key="normal" title="Button"/>
  99. <buttonConfiguration key="configuration" style="filled">
  100. <backgroundConfiguration key="background" cornerRadius="14">
  101. <color key="backgroundColor" systemColor="systemBlueColor"/>
  102. </backgroundConfiguration>
  103. </buttonConfiguration>
  104. </button>
  105. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TQ4-ke-8H9">
  106. <rect key="frame" x="165" y="5" width="28" height="28"/>
  107. <constraints>
  108. <constraint firstAttribute="height" constant="28" id="o32-Xf-L1Q"/>
  109. <constraint firstAttribute="width" constant="28" id="pNY-34-Irw"/>
  110. </constraints>
  111. <state key="normal" title="Button"/>
  112. <buttonConfiguration key="configuration" style="filled">
  113. <backgroundConfiguration key="background" cornerRadius="14">
  114. <color key="backgroundColor" systemColor="systemBrownColor"/>
  115. </backgroundConfiguration>
  116. </buttonConfiguration>
  117. </button>
  118. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xMA-9j-ihI">
  119. <rect key="frame" x="127" y="5" width="28" height="28"/>
  120. <constraints>
  121. <constraint firstAttribute="height" constant="28" id="UaX-cg-WYt"/>
  122. <constraint firstAttribute="width" constant="28" id="V6Z-Vs-qv9"/>
  123. </constraints>
  124. <state key="normal" title="Button"/>
  125. <buttonConfiguration key="configuration" style="filled">
  126. <backgroundConfiguration key="background" cornerRadius="14">
  127. <color key="backgroundColor" systemColor="systemPurpleColor"/>
  128. </backgroundConfiguration>
  129. </buttonConfiguration>
  130. </button>
  131. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ws2-Yk-jgk">
  132. <rect key="frame" x="89" y="5" width="28" height="28"/>
  133. <constraints>
  134. <constraint firstAttribute="width" constant="28" id="Zd0-M1-hAv"/>
  135. <constraint firstAttribute="height" constant="28" id="aRt-Oc-8LH"/>
  136. </constraints>
  137. <state key="normal" title="Button"/>
  138. <buttonConfiguration key="configuration" style="filled">
  139. <backgroundConfiguration key="background" cornerRadius="14">
  140. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  141. <color key="strokeColor" systemColor="labelColor"/>
  142. </backgroundConfiguration>
  143. </buttonConfiguration>
  144. </button>
  145. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="erY-n4-1j4">
  146. <rect key="frame" x="188" y="38" width="180" height="35"/>
  147. <constraints>
  148. <constraint firstAttribute="width" constant="180" id="IMe-mW-tDp"/>
  149. <constraint firstAttribute="height" constant="35" id="hKV-0t-qvg"/>
  150. </constraints>
  151. <state key="normal" title="Button"/>
  152. <buttonConfiguration key="configuration" style="plain" title="Select Image">
  153. <backgroundConfiguration key="background">
  154. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  155. <color key="strokeColor" systemColor="labelColor"/>
  156. </backgroundConfiguration>
  157. <color key="baseForegroundColor" systemColor="labelColor"/>
  158. </buttonConfiguration>
  159. </button>
  160. </subviews>
  161. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  162. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  163. <constraints>
  164. <constraint firstItem="Ws2-Yk-jgk" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="4Rh-Ke-aNY"/>
  165. <constraint firstItem="Ilf-hc-vDz" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="572-HX-Qlx"/>
  166. <constraint firstItem="TQ4-ke-8H9" firstAttribute="leading" secondItem="xMA-9j-ihI" secondAttribute="trailing" constant="10" id="7om-Xd-tEV"/>
  167. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="erY-n4-1j4" secondAttribute="trailing" constant="25" id="AWv-rQ-36c"/>
  168. <constraint firstItem="oel-2u-BwM" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="AtF-se-fqq"/>
  169. <constraint firstItem="erY-n4-1j4" firstAttribute="top" secondItem="5Bx-Z5-1mL" secondAttribute="bottom" constant="5" id="DYa-P3-Rq1"/>
  170. <constraint firstItem="Ofq-RN-o4S" firstAttribute="leading" secondItem="TQ4-ke-8H9" secondAttribute="trailing" constant="10" id="EFZ-4T-Ztn"/>
  171. <constraint firstItem="xMA-9j-ihI" firstAttribute="leading" secondItem="Ws2-Yk-jgk" secondAttribute="trailing" constant="10" id="Fq6-OK-x64"/>
  172. <constraint firstItem="DT2-6t-Yve" firstAttribute="leading" secondItem="Ofq-RN-o4S" secondAttribute="trailing" constant="10" id="IO0-q7-oEe"/>
  173. <constraint firstItem="DT2-6t-Yve" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="NE1-zf-jKU"/>
  174. <constraint firstItem="5Bx-Z5-1mL" firstAttribute="leading" secondItem="DT2-6t-Yve" secondAttribute="trailing" constant="10" id="PsZ-6B-3Yl"/>
  175. <constraint firstItem="Ilf-hc-vDz" firstAttribute="leading" secondItem="oel-2u-BwM" secondAttribute="trailing" constant="10" id="T17-oR-9rs"/>
  176. <constraint firstItem="oel-2u-BwM" firstAttribute="leading" secondItem="5Bx-Z5-1mL" secondAttribute="trailing" constant="10" id="V6q-Rx-ggH"/>
  177. <constraint firstItem="Asj-Uy-gnl" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="W0L-eE-GgI"/>
  178. <constraint firstItem="xMA-9j-ihI" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="gx6-Qg-8B5"/>
  179. <constraint firstAttribute="trailing" secondItem="Ilf-hc-vDz" secondAttribute="trailing" constant="10" id="kUq-Xl-jqQ"/>
  180. <constraint firstItem="flL-Wj-qvU" firstAttribute="top" secondItem="Asj-Uy-gnl" secondAttribute="bottom" constant="5" id="ldA-sS-ZHL"/>
  181. <constraint firstItem="TQ4-ke-8H9" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="npv-Hi-rdw"/>
  182. <constraint firstItem="flL-Wj-qvU" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="rWc-dB-ym6"/>
  183. <constraint firstItem="5Bx-Z5-1mL" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="uG7-vj-DOA"/>
  184. <constraint firstItem="Asj-Uy-gnl" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="10" id="usP-Zx-6we"/>
  185. <constraint firstItem="Ofq-RN-o4S" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="5" id="vjq-lV-KKh"/>
  186. </constraints>
  187. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  188. <connections>
  189. <outlet property="colorBtn1" destination="Ilf-hc-vDz" id="Q5P-eo-kjG"/>
  190. <outlet property="colorBtn2" destination="oel-2u-BwM" id="ZGt-9y-cdH"/>
  191. <outlet property="colorBtn3" destination="5Bx-Z5-1mL" id="zvY-SL-BOE"/>
  192. <outlet property="colorBtn4" destination="DT2-6t-Yve" id="PAn-Q6-nnN"/>
  193. <outlet property="colorBtn5" destination="Ofq-RN-o4S" id="7or-FS-Yf6"/>
  194. <outlet property="colorBtn6" destination="TQ4-ke-8H9" id="rlg-IE-LP2"/>
  195. <outlet property="colorBtn7" destination="xMA-9j-ihI" id="Ntz-if-rfz"/>
  196. <outlet property="colorBtn8" destination="Ws2-Yk-jgk" id="1TB-1i-b3L"/>
  197. <outlet property="colorLabel" destination="Asj-Uy-gnl" id="Set-Ly-6Jh"/>
  198. <outlet property="imageLabel" destination="flL-Wj-qvU" id="8Zw-x1-L6n"/>
  199. <outlet property="selectBtn" destination="erY-n4-1j4" id="wbl-4S-Ley"/>
  200. </connections>
  201. <point key="canvasLocation" x="130.53435114503816" y="-12.67605633802817"/>
  202. </view>
  203. </objects>
  204. <resources>
  205. <systemColor name="labelColor">
  206. <color red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  207. </systemColor>
  208. <systemColor name="systemBackgroundColor">
  209. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  210. </systemColor>
  211. <systemColor name="systemBlueColor">
  212. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  213. </systemColor>
  214. <systemColor name="systemBrownColor">
  215. <color red="0.63529411764705879" green="0.51764705882352946" blue="0.36862745098039218" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  216. </systemColor>
  217. <systemColor name="systemGreenColor">
  218. <color red="0.20392156862745098" green="0.7803921568627451" blue="0.34901960784313724" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  219. </systemColor>
  220. <systemColor name="systemOrangeColor">
  221. <color red="1" green="0.58431372549019611" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  222. </systemColor>
  223. <systemColor name="systemPinkColor">
  224. <color red="1" green="0.17647058823529413" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  225. </systemColor>
  226. <systemColor name="systemPurpleColor">
  227. <color red="0.68627450980392157" green="0.32156862745098042" blue="0.87058823529411766" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  228. </systemColor>
  229. <systemColor name="systemYellowColor">
  230. <color red="1" green="0.80000000000000004" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  231. </systemColor>
  232. </resources>
  233. </document>