You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

227 lines
25 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="HSb-ou-7T5">
  3. <device id="retina5_5" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  7. <capability name="Named colors" minToolsVersion="9.0"/>
  8. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <customFonts key="customFonts">
  12. <array key="SanFranciscoDisplay-Medium.otf">
  13. <string>SanFranciscoDisplay-Medium</string>
  14. </array>
  15. <array key="SanFranciscoDisplay-Regular.otf">
  16. <string>SanFranciscoDisplay-Regular</string>
  17. </array>
  18. </customFonts>
  19. <scenes>
  20. <!--CouponBox-->
  21. <scene sceneID="R60-Pu-Hpy">
  22. <objects>
  23. <viewController storyboardIdentifier="CouponBoxViewController" title="CouponBox" id="HSb-ou-7T5" customClass="CouponBoxViewController" customModule="GME_Remit" sceneMemberID="viewController">
  24. <view key="view" contentMode="scaleToFill" id="9Uc-9s-KgO">
  25. <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="ezy-zE-5Tn">
  29. <rect key="frame" x="10" y="52" width="394" height="674"/>
  30. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  31. <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  32. <view key="tableHeaderView" contentMode="scaleToFill" id="usQ-1d-CTS">
  33. <rect key="frame" x="0.0" y="0.0" width="394" height="1"/>
  34. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  35. <color key="backgroundColor" name="ThemeSeparate"/>
  36. </view>
  37. <view key="tableFooterView" contentMode="scaleToFill" id="ypK-Om-Vgj">
  38. <rect key="frame" x="0.0" y="177" width="394" height="44"/>
  39. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  40. <subviews>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="There are no coupons" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hfr-ee-qjq">
  42. <rect key="frame" x="114" y="12" width="166" height="20"/>
  43. <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
  44. <color key="textColor" name="ThemeText"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. </subviews>
  48. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  49. <constraints>
  50. <constraint firstItem="hfr-ee-qjq" firstAttribute="centerX" secondItem="ypK-Om-Vgj" secondAttribute="centerX" id="761-La-11E"/>
  51. <constraint firstItem="hfr-ee-qjq" firstAttribute="centerY" secondItem="ypK-Om-Vgj" secondAttribute="centerY" id="Z52-4e-eSq"/>
  52. </constraints>
  53. </view>
  54. <prototypes>
  55. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponCell" rowHeight="120" id="YMA-F7-p28" customClass="CouponCell" customModule="GME_Remit" customModuleProvider="target">
  56. <rect key="frame" x="0.0" y="29" width="394" height="120"/>
  57. <autoresizingMask key="autoresizingMask"/>
  58. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="YMA-F7-p28" id="Lme-mn-DBU">
  59. <rect key="frame" x="0.0" y="0.0" width="394" height="120"/>
  60. <autoresizingMask key="autoresizingMask"/>
  61. <subviews>
  62. <view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qdj-Z2-E71">
  63. <rect key="frame" x="0.0" y="5" width="394" height="110"/>
  64. <subviews>
  65. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" alignment="top" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="9Sq-Ib-dvM">
  66. <rect key="frame" x="20" y="10" width="213.66666666666666" height="90"/>
  67. <subviews>
  68. <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="fdU-aS-1dB">
  69. <rect key="frame" x="0.0" y="0.0" width="63.333333333333336" height="23.333333333333332"/>
  70. <subviews>
  71. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="BITRHDAY" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="guM-Ef-3wq">
  72. <rect key="frame" x="0.0" y="0.0" width="63.333333333333336" height="23.333333333333332"/>
  73. <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
  74. <color key="textColor" name="ThemeText"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. </subviews>
  78. </stackView>
  79. <stackView opaque="NO" contentMode="scaleToFill" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="BcK-iH-PWJ">
  80. <rect key="frame" x="0.0" y="33.333333333333336" width="213.66666666666666" height="23.333333333333336"/>
  81. <subviews>
  82. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="SERVICE DISCOUNT" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7gc-VZ-Cxc">
  83. <rect key="frame" x="0.0" y="0.0" width="162" height="23.333333333333332"/>
  84. <fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="17"/>
  85. <color key="textColor" name="ThemeText"/>
  86. <nil key="highlightedColor"/>
  87. </label>
  88. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(20%)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zyd-8X-uXh">
  89. <rect key="frame" x="166" y="0.0" width="47.666666666666657" height="23.333333333333332"/>
  90. <fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="18"/>
  91. <color key="textColor" name="ThemeRed"/>
  92. <nil key="highlightedColor"/>
  93. </label>
  94. </subviews>
  95. </stackView>
  96. <stackView opaque="NO" contentMode="scaleToFill" spacing="13" translatesAutoresizingMaskIntoConstraints="NO" id="eLb-pM-Fws">
  97. <rect key="frame" x="0.0" y="66.666666666666671" width="184" height="23.333333333333329"/>
  98. <subviews>
  99. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(2018-05-05)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uu9-NC-QS1">
  100. <rect key="frame" x="0.0" y="0.0" width="75" height="23.333333333333332"/>
  101. <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
  102. <color key="textColor" name="ThemeText"/>
  103. <nil key="highlightedColor"/>
  104. </label>
  105. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="~" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="X91-cK-tgq">
  106. <rect key="frame" x="88" y="0.0" width="8" height="23.333333333333332"/>
  107. <fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="13"/>
  108. <color key="textColor" name="ThemeText"/>
  109. <nil key="highlightedColor"/>
  110. </label>
  111. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(2019-05-05)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GBE-Bw-g4J">
  112. <rect key="frame" x="109" y="0.0" width="75" height="23.333333333333332"/>
  113. <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
  114. <color key="textColor" name="ThemeText"/>
  115. <nil key="highlightedColor"/>
  116. </label>
  117. </subviews>
  118. </stackView>
  119. </subviews>
  120. </stackView>
  121. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="right" translatesAutoresizingMaskIntoConstraints="NO" id="zSn-qP-xX1">
  122. <rect key="frame" x="359" y="47.666666666666664" width="15" height="15"/>
  123. <constraints>
  124. <constraint firstAttribute="height" constant="15" id="Y8M-cI-P1Z"/>
  125. <constraint firstAttribute="width" constant="15" id="efQ-UE-gUQ"/>
  126. </constraints>
  127. </imageView>
  128. </subviews>
  129. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  130. <constraints>
  131. <constraint firstAttribute="bottom" secondItem="9Sq-Ib-dvM" secondAttribute="bottom" constant="10" id="69I-CF-HO6"/>
  132. <constraint firstItem="zSn-qP-xX1" firstAttribute="centerY" secondItem="qdj-Z2-E71" secondAttribute="centerY" id="R18-Tg-sAa"/>
  133. <constraint firstItem="9Sq-Ib-dvM" firstAttribute="leading" secondItem="qdj-Z2-E71" secondAttribute="leading" constant="20" id="S9o-8h-9lw"/>
  134. <constraint firstAttribute="trailing" secondItem="zSn-qP-xX1" secondAttribute="trailing" constant="20" id="odl-95-K8g"/>
  135. <constraint firstItem="9Sq-Ib-dvM" firstAttribute="top" secondItem="qdj-Z2-E71" secondAttribute="top" constant="10" id="pl6-iP-adw"/>
  136. </constraints>
  137. </view>
  138. </subviews>
  139. <constraints>
  140. <constraint firstAttribute="bottom" secondItem="qdj-Z2-E71" secondAttribute="bottom" constant="5" id="CLQ-y6-70m"/>
  141. <constraint firstAttribute="trailing" secondItem="qdj-Z2-E71" secondAttribute="trailing" id="UGN-dl-n7h"/>
  142. <constraint firstItem="qdj-Z2-E71" firstAttribute="leading" secondItem="Lme-mn-DBU" secondAttribute="leading" id="aFC-b8-GYk"/>
  143. <constraint firstItem="qdj-Z2-E71" firstAttribute="top" secondItem="Lme-mn-DBU" secondAttribute="top" constant="5" id="osy-2A-Rg0"/>
  144. </constraints>
  145. </tableViewCellContentView>
  146. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  147. <connections>
  148. <outlet property="checkImageView" destination="zSn-qP-xX1" id="sAH-S9-fsu"/>
  149. <outlet property="couponCellBackgroundView" destination="qdj-Z2-E71" id="byb-Z8-WGC"/>
  150. <outlet property="couponNameLabel" destination="guM-Ef-3wq" id="iRL-oQ-L0e"/>
  151. <outlet property="discountLabel" destination="zyd-8X-uXh" id="ykG-AP-3zo"/>
  152. <outlet property="expireDateLabel" destination="GBE-Bw-g4J" id="VLx-iX-3b3"/>
  153. <outlet property="startDateLabel" destination="uu9-NC-QS1" id="bek-76-6Xl"/>
  154. </connections>
  155. </tableViewCell>
  156. </prototypes>
  157. </tableView>
  158. <stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="DeL-q7-24F">
  159. <rect key="frame" x="16" y="10" width="81.666666666666671" height="32"/>
  160. <subviews>
  161. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="couponImage" translatesAutoresizingMaskIntoConstraints="NO" id="UmJ-8h-GhH">
  162. <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
  163. </imageView>
  164. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CDB-as-6GK">
  165. <rect key="frame" x="40" y="0.0" width="41.666666666666657" height="32"/>
  166. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  167. <color key="textColor" name="ThemeText"/>
  168. <nil key="highlightedColor"/>
  169. </label>
  170. </subviews>
  171. </stackView>
  172. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TNH-We-CX0">
  173. <rect key="frame" x="215" y="10" width="183" height="30"/>
  174. <state key="normal" title="sdfgsdfgsdfgsdfgsdfgsdfg">
  175. <color key="titleColor" name="ThemeRed"/>
  176. </state>
  177. <connections>
  178. <action selector="couponGuidelineButton:" destination="HSb-ou-7T5" eventType="touchUpInside" id="S7x-Uz-0me"/>
  179. </connections>
  180. </button>
  181. </subviews>
  182. <color key="backgroundColor" name="ThemeMainBackground"/>
  183. <constraints>
  184. <constraint firstItem="TNH-We-CX0" firstAttribute="top" secondItem="O1T-1R-Sun" secondAttribute="top" constant="10" id="08v-rM-6Kt"/>
  185. <constraint firstItem="DeL-q7-24F" firstAttribute="top" secondItem="O1T-1R-Sun" secondAttribute="top" constant="10" id="2UI-AI-6en"/>
  186. <constraint firstItem="ezy-zE-5Tn" firstAttribute="leading" secondItem="O1T-1R-Sun" secondAttribute="leading" constant="10" id="6w8-5P-6N7"/>
  187. <constraint firstAttribute="bottom" secondItem="ezy-zE-5Tn" secondAttribute="bottom" constant="10" id="8qk-86-TUV"/>
  188. <constraint firstItem="O1T-1R-Sun" firstAttribute="trailing" secondItem="TNH-We-CX0" secondAttribute="trailing" constant="16" id="Ldu-dz-CzH"/>
  189. <constraint firstItem="O1T-1R-Sun" firstAttribute="trailing" secondItem="ezy-zE-5Tn" secondAttribute="trailing" constant="10" id="UHq-lo-4Ls"/>
  190. <constraint firstItem="TNH-We-CX0" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="DeL-q7-24F" secondAttribute="trailing" constant="10" id="Uem-MN-t6j"/>
  191. <constraint firstItem="DeL-q7-24F" firstAttribute="leading" secondItem="O1T-1R-Sun" secondAttribute="leading" constant="16" id="Yl6-Iq-kPc"/>
  192. <constraint firstItem="ezy-zE-5Tn" firstAttribute="top" secondItem="DeL-q7-24F" secondAttribute="bottom" constant="10" id="jK4-NE-dqh"/>
  193. </constraints>
  194. <viewLayoutGuide key="safeArea" id="O1T-1R-Sun"/>
  195. </view>
  196. <connections>
  197. <outlet property="couponCount" destination="CDB-as-6GK" id="ah6-bh-HOg"/>
  198. <outlet property="couponCountStackView" destination="DeL-q7-24F" id="Du7-qv-GxA"/>
  199. <outlet property="couponGuidelineText" destination="TNH-We-CX0" id="WCf-Y4-fjS"/>
  200. <outlet property="noCouponMessageLabel" destination="hfr-ee-qjq" id="Q4v-ZY-ncW"/>
  201. <outlet property="noCouponView" destination="ypK-Om-Vgj" id="JIk-VJ-aNb"/>
  202. <outlet property="tableView" destination="ezy-zE-5Tn" id="DT4-kB-AtU"/>
  203. </connections>
  204. </viewController>
  205. <placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/>
  206. </objects>
  207. <point key="canvasLocation" x="-93.75" y="231.33802816901408"/>
  208. </scene>
  209. </scenes>
  210. <color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  211. <resources>
  212. <image name="couponImage" width="32" height="32"/>
  213. <image name="right" width="22" height="22"/>
  214. <namedColor name="ThemeMainBackground">
  215. <color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  216. </namedColor>
  217. <namedColor name="ThemeRed">
  218. <color red="0.92941176470588238" green="0.10588235294117647" blue="0.14117647058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  219. </namedColor>
  220. <namedColor name="ThemeSeparate">
  221. <color red="0.82400000095367432" green="0.82400000095367432" blue="0.82400000095367432" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  222. </namedColor>
  223. <namedColor name="ThemeText">
  224. <color red="0.28999999165534973" green="0.28999999165534973" blue="0.28999999165534973" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  225. </namedColor>
  226. </resources>
  227. </document>