Browse Source

merged and enable to compile for coupon+profile

pull/1/head
Jeongbae Kong 4 years ago
parent
commit
32a0e59cb1
  1. BIN
      .DS_Store
  2. 84
      GME Remit/Modules/RewardModules/CouponBox/User Interface/View/CouponBox.storyboard
  3. 21
      GME Remit/Supported Files/Assets.xcassets/couponImage.imageset/Contents.json
  4. BIN
      GME Remit/Supported Files/Assets.xcassets/couponImage.imageset/couponImage.png
  5. 21
      GME Remit/Supported Files/Assets.xcassets/right.imageset/Contents.json
  6. BIN
      GME Remit/Supported Files/Assets.xcassets/right.imageset/right.png

BIN
.DS_Store

84
GME Remit/Modules/RewardModules/CouponBox/User Interface/View/CouponBox.storyboard

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="HSb-ou-7T5">
<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">
<device id="retina5_5" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@ -26,7 +26,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<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">
<rect key="frame" x="10" y="84" width="394" height="642"/>
<rect key="frame" x="10" y="52" width="394" height="674"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<view key="tableHeaderView" contentMode="scaleToFill" id="usQ-1d-CTS">
@ -52,23 +52,23 @@
</constraints>
</view>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponCell" rowHeight="120" id="J7s-TN-7il" customClass="CouponCell" customModule="GME_Remit" customModuleProvider="target">
<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">
<rect key="frame" x="0.0" y="29" width="394" height="120"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="J7s-TN-7il" id="iVw-0N-Jmx">
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="YMA-F7-p28" id="Lme-mn-DBU">
<rect key="frame" x="0.0" y="0.0" width="394" height="120"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="r8r-7g-2zz">
<rect key="frame" x="5" y="5" width="384" height="110"/>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qdj-Z2-E71">
<rect key="frame" x="0.0" y="5" width="394" height="110"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" alignment="top" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="rlQ-VP-lmr">
<rect key="frame" x="20" y="10" width="287.66666666666669" height="90"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" alignment="top" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="9Sq-Ib-dvM">
<rect key="frame" x="20" y="10" width="213.66666666666666" height="90"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="bWL-jL-jgo">
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="fdU-aS-1dB">
<rect key="frame" x="0.0" y="0.0" width="63.333333333333336" height="23.333333333333332"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="BITRHDAY" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0fN-Cu-zf1">
<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">
<rect key="frame" x="0.0" y="0.0" width="63.333333333333336" height="23.333333333333332"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
<color key="textColor" name="ThemeText"/>
@ -76,16 +76,16 @@
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="Mvh-Fv-WQg">
<stackView opaque="NO" contentMode="scaleToFill" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="BcK-iH-PWJ">
<rect key="frame" x="0.0" y="33.333333333333336" width="213.66666666666666" height="23.333333333333336"/>
<subviews>
<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="M2u-YV-fRK">
<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">
<rect key="frame" x="0.0" y="0.0" width="162" height="23.333333333333332"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="17"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(20%)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u9h-2K-juJ">
<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">
<rect key="frame" x="166" y="0.0" width="47.666666666666657" height="23.333333333333332"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="18"/>
<color key="textColor" name="ThemeRed"/>
@ -93,22 +93,22 @@
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="13" translatesAutoresizingMaskIntoConstraints="NO" id="Lbv-w4-9FN">
<stackView opaque="NO" contentMode="scaleToFill" spacing="13" translatesAutoresizingMaskIntoConstraints="NO" id="eLb-pM-Fws">
<rect key="frame" x="0.0" y="66.666666666666671" width="184" height="23.333333333333329"/>
<subviews>
<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="uzc-AR-517">
<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">
<rect key="frame" x="0.0" y="0.0" width="75" height="23.333333333333332"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="~" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EV1-AV-ghr">
<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">
<rect key="frame" x="88" y="0.0" width="8" height="23.333333333333332"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="13"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<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="hmE-gu-16z">
<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">
<rect key="frame" x="109" y="0.0" width="75" height="23.333333333333332"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
<color key="textColor" name="ThemeText"/>
@ -118,53 +118,51 @@
</stackView>
</subviews>
</stackView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="right" translatesAutoresizingMaskIntoConstraints="NO" id="Q7E-3R-YGd">
<rect key="frame" x="349" y="47.666666666666664" width="15" height="15"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="right" translatesAutoresizingMaskIntoConstraints="NO" id="zSn-qP-xX1">
<rect key="frame" x="359" y="47.666666666666664" width="15" height="15"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="PoU-i8-MOt"/>
<constraint firstAttribute="height" constant="15" id="rKY-fM-WO4"/>
<constraint firstAttribute="height" constant="15" id="Y8M-cI-P1Z"/>
<constraint firstAttribute="width" constant="15" id="efQ-UE-gUQ"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="rlQ-VP-lmr" firstAttribute="leading" secondItem="r8r-7g-2zz" secondAttribute="leading" constant="20" id="06D-WH-oMN"/>
<constraint firstAttribute="trailing" secondItem="Q7E-3R-YGd" secondAttribute="trailing" constant="20" id="5nc-n3-qje"/>
<constraint firstItem="Q7E-3R-YGd" firstAttribute="leading" secondItem="rlQ-VP-lmr" secondAttribute="trailing" constant="41.5" id="RBd-s8-VRG"/>
<constraint firstAttribute="bottom" secondItem="rlQ-VP-lmr" secondAttribute="bottom" constant="10" id="SlU-UU-j6A"/>
<constraint firstItem="rlQ-VP-lmr" firstAttribute="top" secondItem="r8r-7g-2zz" secondAttribute="top" constant="10" id="cUE-4j-Qqs"/>
<constraint firstItem="Q7E-3R-YGd" firstAttribute="centerY" secondItem="r8r-7g-2zz" secondAttribute="centerY" id="tLc-eS-GR5"/>
<constraint firstAttribute="bottom" secondItem="9Sq-Ib-dvM" secondAttribute="bottom" constant="10" id="69I-CF-HO6"/>
<constraint firstItem="zSn-qP-xX1" firstAttribute="centerY" secondItem="qdj-Z2-E71" secondAttribute="centerY" id="R18-Tg-sAa"/>
<constraint firstItem="9Sq-Ib-dvM" firstAttribute="leading" secondItem="qdj-Z2-E71" secondAttribute="leading" constant="20" id="S9o-8h-9lw"/>
<constraint firstAttribute="trailing" secondItem="zSn-qP-xX1" secondAttribute="trailing" constant="20" id="odl-95-K8g"/>
<constraint firstItem="9Sq-Ib-dvM" firstAttribute="top" secondItem="qdj-Z2-E71" secondAttribute="top" constant="10" id="pl6-iP-adw"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="r8r-7g-2zz" firstAttribute="leading" secondItem="iVw-0N-Jmx" secondAttribute="leading" constant="5" id="1dW-Ze-KDF"/>
<constraint firstItem="r8r-7g-2zz" firstAttribute="top" secondItem="iVw-0N-Jmx" secondAttribute="top" constant="5" id="bY5-ve-1KQ"/>
<constraint firstAttribute="bottom" secondItem="r8r-7g-2zz" secondAttribute="bottom" constant="5" id="cCH-fC-86m"/>
<constraint firstAttribute="trailing" secondItem="r8r-7g-2zz" secondAttribute="trailing" constant="5" id="cu8-qr-apg"/>
<constraint firstAttribute="bottom" secondItem="qdj-Z2-E71" secondAttribute="bottom" constant="5" id="CLQ-y6-70m"/>
<constraint firstAttribute="trailing" secondItem="qdj-Z2-E71" secondAttribute="trailing" id="UGN-dl-n7h"/>
<constraint firstItem="qdj-Z2-E71" firstAttribute="leading" secondItem="Lme-mn-DBU" secondAttribute="leading" id="aFC-b8-GYk"/>
<constraint firstItem="qdj-Z2-E71" firstAttribute="top" secondItem="Lme-mn-DBU" secondAttribute="top" constant="5" id="osy-2A-Rg0"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<outlet property="checkImageView" destination="Q7E-3R-YGd" id="tGN-ln-4I9"/>
<outlet property="couponCellBackgroundView" destination="r8r-7g-2zz" id="PD9-kR-kL1"/>
<outlet property="couponNameLabel" destination="0fN-Cu-zf1" id="0Wt-6S-ldx"/>
<outlet property="discountLabel" destination="u9h-2K-juJ" id="dCc-ze-qWC"/>
<outlet property="expireDateLabel" destination="hmE-gu-16z" id="fLS-kM-Tbt"/>
<outlet property="startDateLabel" destination="uzc-AR-517" id="6Mi-TW-QP4"/>
<outlet property="checkImageView" destination="zSn-qP-xX1" id="sAH-S9-fsu"/>
<outlet property="couponCellBackgroundView" destination="qdj-Z2-E71" id="byb-Z8-WGC"/>
<outlet property="couponNameLabel" destination="guM-Ef-3wq" id="iRL-oQ-L0e"/>
<outlet property="discountLabel" destination="zyd-8X-uXh" id="ykG-AP-3zo"/>
<outlet property="expireDateLabel" destination="GBE-Bw-g4J" id="VLx-iX-3b3"/>
<outlet property="startDateLabel" destination="uu9-NC-QS1" id="bek-76-6Xl"/>
</connections>
</tableViewCell>
</prototypes>
</tableView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="DeL-q7-24F">
<rect key="frame" x="16.000000000000007" y="10" width="113.66666666666669" height="64"/>
<rect key="frame" x="16" y="10" width="81.666666666666671" height="32"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="couponImage" translatesAutoresizingMaskIntoConstraints="NO" id="UmJ-8h-GhH">
<rect key="frame" x="0.0" y="0.0" width="64" height="64"/>
<rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
</imageView>
<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">
<rect key="frame" x="72" y="0.0" width="41.666666666666657" height="64"/>
<rect key="frame" x="40" y="0.0" width="41.666666666666657" height="32"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
@ -209,6 +207,7 @@
<point key="canvasLocation" x="-93.75" y="231.33802816901408"/>
</scene>
</scenes>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<resources>
<image name="couponImage" width="32" height="32"/>
<image name="right" width="22" height="22"/>
@ -225,5 +224,4 @@
<color red="0.28999999165534973" green="0.28999999165534973" blue="0.28999999165534973" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</document>

21
GME Remit/Supported Files/Assets.xcassets/couponImage.imageset/Contents.json

@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "couponImage.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

BIN
GME Remit/Supported Files/Assets.xcassets/couponImage.imageset/couponImage.png

After

Width: 32  |  Height: 32  |  Size: 1.0 KiB

21
GME Remit/Supported Files/Assets.xcassets/right.imageset/Contents.json

@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "right.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

BIN
GME Remit/Supported Files/Assets.xcassets/right.imageset/right.png

After

Width: 44  |  Height: 44  |  Size: 671 B

Loading…
Cancel
Save