Showing
4 changed files
with
15 additions
and
2 deletions
No preview for this file type
No preview for this file type
... | @@ -202,7 +202,7 @@ | ... | @@ -202,7 +202,7 @@ |
202 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 202 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
203 | <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 203 | <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
204 | <prototypes> | 204 | <prototypes> |
205 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="MFYInboxTableViewCellId" id="TRe-Ck-sF8" customClass="MFYInboxTableViewCell" customModule="swift_example" customModuleProvider="target"> | 205 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="MFYInboxTableViewCellId" id="TRe-Ck-sF8" customClass="MFYInboxTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
206 | <rect key="frame" x="0.0" y="44.5" width="414" height="118.5"/> | 206 | <rect key="frame" x="0.0" y="44.5" width="414" height="118.5"/> |
207 | <autoresizingMask key="autoresizingMask"/> | 207 | <autoresizingMask key="autoresizingMask"/> |
208 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TRe-Ck-sF8" id="1NS-DA-C6q"> | 208 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TRe-Ck-sF8" id="1NS-DA-C6q"> |
... | @@ -818,6 +818,7 @@ | ... | @@ -818,6 +818,7 @@ |
818 | <outlet property="activeCodeImage" destination="xwu-AC-ij3" id="iU8-rU-Q07"/> | 818 | <outlet property="activeCodeImage" destination="xwu-AC-ij3" id="iU8-rU-Q07"/> |
819 | <outlet property="activeCodeLabel" destination="qBe-Jw-QUx" id="mlj-zT-T0Z"/> | 819 | <outlet property="activeCodeLabel" destination="qBe-Jw-QUx" id="mlj-zT-T0Z"/> |
820 | <outlet property="activeCodeView" destination="zFT-By-XHL" id="M0w-Ln-iC9"/> | 820 | <outlet property="activeCodeView" destination="zFT-By-XHL" id="M0w-Ln-iC9"/> |
821 | + <outlet property="activeCodeViewHeight" destination="7r0-fu-7H9" id="nDr-bk-ViP"/> | ||
821 | <outlet property="couponEarnAmountLabel" destination="cbA-fm-1uO" id="o0w-tT-Etg"/> | 822 | <outlet property="couponEarnAmountLabel" destination="cbA-fm-1uO" id="o0w-tT-Etg"/> |
822 | <outlet property="couponEarnImage" destination="Vfg-nm-Igo" id="iLu-eS-mW3"/> | 823 | <outlet property="couponEarnImage" destination="Vfg-nm-Igo" id="iLu-eS-mW3"/> |
823 | <outlet property="couponEarnLabel" destination="WdW-lP-g1v" id="GeT-9O-3ZD"/> | 824 | <outlet property="couponEarnLabel" destination="WdW-lP-g1v" id="GeT-9O-3ZD"/> |
... | @@ -827,6 +828,8 @@ | ... | @@ -827,6 +828,8 @@ |
827 | <outlet property="dfyEarnLabel" destination="h7B-UX-3wG" id="eW2-n0-5x5"/> | 828 | <outlet property="dfyEarnLabel" destination="h7B-UX-3wG" id="eW2-n0-5x5"/> |
828 | <outlet property="dfyEarnView" destination="EpZ-Qo-xby" id="HjN-zQ-3at"/> | 829 | <outlet property="dfyEarnView" destination="EpZ-Qo-xby" id="HjN-zQ-3at"/> |
829 | <outlet property="dfyLogoImage" destination="gdf-s4-2CF" id="eGT-J8-7vO"/> | 830 | <outlet property="dfyLogoImage" destination="gdf-s4-2CF" id="eGT-J8-7vO"/> |
831 | + <outlet property="dfyLogoImageHeight" destination="Ch9-8X-FNJ" id="1f2-Tl-Ias"/> | ||
832 | + <outlet property="dfyLogoImageTopSpace" destination="4FL-Zz-Okv" id="NJf-cd-AG2"/> | ||
830 | <outlet property="headerImage" destination="wP5-YG-vSP" id="MFN-m3-6ou"/> | 833 | <outlet property="headerImage" destination="wP5-YG-vSP" id="MFN-m3-6ou"/> |
831 | <outlet property="profileImage" destination="wJv-NF-rMf" id="Ues-Ru-2p2"/> | 834 | <outlet property="profileImage" destination="wJv-NF-rMf" id="Ues-Ru-2p2"/> |
832 | <outlet property="profileNameLabel" destination="1XZ-NB-F8P" id="C5F-WA-kOW"/> | 835 | <outlet property="profileNameLabel" destination="1XZ-NB-F8P" id="C5F-WA-kOW"/> |
... | @@ -854,7 +857,7 @@ | ... | @@ -854,7 +857,7 @@ |
854 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 857 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
855 | <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 858 | <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
856 | <prototypes> | 859 | <prototypes> |
857 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="InboxTableViewCellId" id="5x6-NG-BBQ" customClass="InboxTableViewCell" customModule="swift_example" customModuleProvider="target"> | 860 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="InboxTableViewCellId" id="5x6-NG-BBQ" customClass="InboxTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
858 | <rect key="frame" x="0.0" y="44.5" width="414" height="78"/> | 861 | <rect key="frame" x="0.0" y="44.5" width="414" height="78"/> |
859 | <autoresizingMask key="autoresizingMask"/> | 862 | <autoresizingMask key="autoresizingMask"/> |
860 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="5x6-NG-BBQ" id="7Ha-bG-aYy"> | 863 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="5x6-NG-BBQ" id="7Ha-bG-aYy"> | ... | ... |
... | @@ -22,7 +22,10 @@ import UIKit | ... | @@ -22,7 +22,10 @@ import UIKit |
22 | @IBOutlet weak var couponEarnAmountLabel: UILabel! | 22 | @IBOutlet weak var couponEarnAmountLabel: UILabel! |
23 | @IBOutlet weak var couponEarnImage: UIImageView! | 23 | @IBOutlet weak var couponEarnImage: UIImageView! |
24 | @IBOutlet weak var dfyLogoImage: UIImageView! | 24 | @IBOutlet weak var dfyLogoImage: UIImageView! |
25 | + @IBOutlet weak var dfyLogoImageTopSpace: NSLayoutConstraint! | ||
26 | + @IBOutlet weak var dfyLogoImageHeight: NSLayoutConstraint! | ||
25 | @IBOutlet weak var activeCodeView: UIView! | 27 | @IBOutlet weak var activeCodeView: UIView! |
28 | + @IBOutlet weak var activeCodeViewHeight: NSLayoutConstraint! | ||
26 | @IBOutlet weak var activeCodeLabel: UILabel! | 29 | @IBOutlet weak var activeCodeLabel: UILabel! |
27 | @IBOutlet weak var activeCodeExpirationLabel: UILabel! | 30 | @IBOutlet weak var activeCodeExpirationLabel: UILabel! |
28 | @IBOutlet weak var tableView: UITableView! | 31 | @IBOutlet weak var tableView: UITableView! |
... | @@ -142,6 +145,13 @@ import UIKit | ... | @@ -142,6 +145,13 @@ import UIKit |
142 | } else { | 145 | } else { |
143 | activeCodeLabel.text = "-" | 146 | activeCodeLabel.text = "-" |
144 | activeCodeExpirationLabel.text = "" | 147 | activeCodeExpirationLabel.text = "" |
148 | + | ||
149 | + dfyLogoImage.isHidden = true | ||
150 | + activeCodeView.isHidden = true | ||
151 | + | ||
152 | + dfyLogoImageHeight.constant = 0 | ||
153 | + activeCodeViewHeight.constant = 0 | ||
154 | + dfyLogoImageTopSpace.constant = 0 | ||
145 | } | 155 | } |
146 | } | 156 | } |
147 | 157 | ... | ... |
-
Please register or login to post a comment