Showing
3 changed files
with
13 additions
and
2 deletions
No preview for this file type
... | @@ -9,6 +9,7 @@ import UIKit | ... | @@ -9,6 +9,7 @@ import UIKit |
9 | 9 | ||
10 | @objc public class LoyaltyViewController: UIViewController { | 10 | @objc public class LoyaltyViewController: UIViewController { |
11 | @IBOutlet weak var headerView: UIView! | 11 | @IBOutlet weak var headerView: UIView! |
12 | + @IBOutlet weak var gradientImage: UIImageView! | ||
12 | @IBOutlet weak var closeImage: UIImageView! | 13 | @IBOutlet weak var closeImage: UIImageView! |
13 | @IBOutlet weak var logoImage: UIImageView! | 14 | @IBOutlet weak var logoImage: UIImageView! |
14 | @IBOutlet weak var filtersView: UIView! | 15 | @IBOutlet weak var filtersView: UIView! |
... | @@ -23,8 +24,9 @@ import UIKit | ... | @@ -23,8 +24,9 @@ import UIKit |
23 | super.viewDidLoad() | 24 | super.viewDidLoad() |
24 | 25 | ||
25 | 26 | ||
26 | - headerView.applyGradient(colours: [UIColor(rgb: 0x081748), UIColor(rgb: 0x204EAC)], gradient: GradientOrientation.horizontal, cornerRadius: 0.0) | 27 | +// headerView.applyGradient(colours: [UIColor(rgb: 0x081748), UIColor(rgb: 0x204EAC)], gradient: GradientOrientation.horizontal, cornerRadius: 0.0) |
27 | 28 | ||
29 | + gradientImage.image = UIImage(named: "header_gradient", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
28 | closeImage.image = UIImage(named: "close_btn_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 30 | closeImage.image = UIImage(named: "close_btn_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
29 | logoImage.image = UIImage(named: "epistrofi_logo", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 31 | logoImage.image = UIImage(named: "epistrofi_logo", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
30 | 32 | ... | ... |
... | @@ -4003,6 +4003,9 @@ | ... | @@ -4003,6 +4003,9 @@ |
4003 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iq3-R0-fBz" userLabel="Header View"> | 4003 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iq3-R0-fBz" userLabel="Header View"> |
4004 | <rect key="frame" x="0.0" y="0.0" width="414" height="176"/> | 4004 | <rect key="frame" x="0.0" y="0.0" width="414" height="176"/> |
4005 | <subviews> | 4005 | <subviews> |
4006 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="XUl-yS-U0R"> | ||
4007 | + <rect key="frame" x="0.0" y="0.0" width="414" height="176"/> | ||
4008 | + </imageView> | ||
4006 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="b5d-hX-vcb"> | 4009 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="b5d-hX-vcb"> |
4007 | <rect key="frame" x="379" y="55" width="15" height="15"/> | 4010 | <rect key="frame" x="379" y="55" width="15" height="15"/> |
4008 | <constraints> | 4011 | <constraints> |
... | @@ -4018,13 +4021,18 @@ | ... | @@ -4018,13 +4021,18 @@ |
4018 | </constraints> | 4021 | </constraints> |
4019 | </imageView> | 4022 | </imageView> |
4020 | </subviews> | 4023 | </subviews> |
4021 | - <color key="backgroundColor" systemColor="systemBackgroundColor"/> | 4024 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
4022 | <constraints> | 4025 | <constraints> |
4023 | <constraint firstAttribute="trailing" secondItem="b5d-hX-vcb" secondAttribute="trailing" constant="20" id="7b4-MW-wD8"/> | 4026 | <constraint firstAttribute="trailing" secondItem="b5d-hX-vcb" secondAttribute="trailing" constant="20" id="7b4-MW-wD8"/> |
4024 | <constraint firstAttribute="bottom" secondItem="GZK-rw-pZV" secondAttribute="bottom" constant="40" id="9Rf-JX-IKb"/> | 4027 | <constraint firstAttribute="bottom" secondItem="GZK-rw-pZV" secondAttribute="bottom" constant="40" id="9Rf-JX-IKb"/> |
4025 | <constraint firstItem="GZK-rw-pZV" firstAttribute="leading" secondItem="Iq3-R0-fBz" secondAttribute="leading" constant="20" id="BMr-C7-DIL"/> | 4028 | <constraint firstItem="GZK-rw-pZV" firstAttribute="leading" secondItem="Iq3-R0-fBz" secondAttribute="leading" constant="20" id="BMr-C7-DIL"/> |
4029 | + <constraint firstAttribute="height" constant="176" id="BaJ-Gm-xbU"/> | ||
4030 | + <constraint firstItem="XUl-yS-U0R" firstAttribute="top" secondItem="Iq3-R0-fBz" secondAttribute="top" id="Dy3-jg-UMr"/> | ||
4031 | + <constraint firstAttribute="trailing" secondItem="XUl-yS-U0R" secondAttribute="trailing" id="NBA-Xp-nka"/> | ||
4026 | <constraint firstItem="GZK-rw-pZV" firstAttribute="top" secondItem="b5d-hX-vcb" secondAttribute="bottom" constant="15" id="U6G-sr-YQ8"/> | 4032 | <constraint firstItem="GZK-rw-pZV" firstAttribute="top" secondItem="b5d-hX-vcb" secondAttribute="bottom" constant="15" id="U6G-sr-YQ8"/> |
4027 | <constraint firstItem="b5d-hX-vcb" firstAttribute="top" secondItem="Iq3-R0-fBz" secondAttribute="top" constant="55" id="eCY-aR-D9c"/> | 4033 | <constraint firstItem="b5d-hX-vcb" firstAttribute="top" secondItem="Iq3-R0-fBz" secondAttribute="top" constant="55" id="eCY-aR-D9c"/> |
4034 | + <constraint firstAttribute="bottom" secondItem="XUl-yS-U0R" secondAttribute="bottom" id="qsE-Bq-90b"/> | ||
4035 | + <constraint firstItem="XUl-yS-U0R" firstAttribute="leading" secondItem="Iq3-R0-fBz" secondAttribute="leading" id="zJ6-nU-hko"/> | ||
4028 | </constraints> | 4036 | </constraints> |
4029 | </view> | 4037 | </view> |
4030 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZDd-1H-T7x" userLabel="Filters View"> | 4038 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZDd-1H-T7x" userLabel="Filters View"> |
... | @@ -4204,6 +4212,7 @@ | ... | @@ -4204,6 +4212,7 @@ |
4204 | <outlet property="collectionView" destination="3Ff-i2-KRi" id="7GZ-4D-yqt"/> | 4212 | <outlet property="collectionView" destination="3Ff-i2-KRi" id="7GZ-4D-yqt"/> |
4205 | <outlet property="containerView" destination="JYn-ad-sj7" id="hpH-B5-4uH"/> | 4213 | <outlet property="containerView" destination="JYn-ad-sj7" id="hpH-B5-4uH"/> |
4206 | <outlet property="filtersView" destination="ZDd-1H-T7x" id="HUd-Ox-bcV"/> | 4214 | <outlet property="filtersView" destination="ZDd-1H-T7x" id="HUd-Ox-bcV"/> |
4215 | + <outlet property="gradientImage" destination="XUl-yS-U0R" id="CDt-DC-WTx"/> | ||
4207 | <outlet property="headerView" destination="Iq3-R0-fBz" id="E4T-bn-yYD"/> | 4216 | <outlet property="headerView" destination="Iq3-R0-fBz" id="E4T-bn-yYD"/> |
4208 | <outlet property="logoImage" destination="GZK-rw-pZV" id="qwb-ae-QFc"/> | 4217 | <outlet property="logoImage" destination="GZK-rw-pZV" id="qwb-ae-QFc"/> |
4209 | </connections> | 4218 | </connections> | ... | ... |
-
Please register or login to post a comment