Showing
6 changed files
with
324 additions
and
59 deletions
| ... | @@ -19,6 +19,7 @@ | ... | @@ -19,6 +19,7 @@ |
| 19 | 1E15B9A229DDCF02000A408D /* MarketSharingHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E15B9A129DDCF02000A408D /* MarketSharingHistoryViewController.swift */; }; | 19 | 1E15B9A229DDCF02000A408D /* MarketSharingHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E15B9A129DDCF02000A408D /* MarketSharingHistoryViewController.swift */; }; |
| 20 | 1E15B9A429DDD211000A408D /* MarketHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E15B9A329DDD211000A408D /* MarketHistoryViewController.swift */; }; | 20 | 1E15B9A429DDD211000A408D /* MarketHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E15B9A329DDD211000A408D /* MarketHistoryViewController.swift */; }; |
| 21 | 1E2966EA2837A21D00F83FAC /* RSBarcodes_Swift in Frameworks */ = {isa = PBXBuildFile; productRef = 1E2966E92837A21D00F83FAC /* RSBarcodes_Swift */; }; | 21 | 1E2966EA2837A21D00F83FAC /* RSBarcodes_Swift in Frameworks */ = {isa = PBXBuildFile; productRef = 1E2966E92837A21D00F83FAC /* RSBarcodes_Swift */; }; |
| 22 | + 1E36E43D2CBFDD5100A60198 /* PopupInfoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E36E43C2CBFDD5100A60198 /* PopupInfoViewController.swift */; }; | ||
| 22 | 1E4195FB2AE691D20094DADE /* WalletActiveCouponsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E4195FA2AE691D20094DADE /* WalletActiveCouponsTableViewCell.swift */; }; | 23 | 1E4195FB2AE691D20094DADE /* WalletActiveCouponsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E4195FA2AE691D20094DADE /* WalletActiveCouponsTableViewCell.swift */; }; |
| 23 | 1E4410B128F5855000859F92 /* CampaignCategory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E4410B028F5855000859F92 /* CampaignCategory.swift */; }; | 24 | 1E4410B128F5855000859F92 /* CampaignCategory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E4410B028F5855000859F92 /* CampaignCategory.swift */; }; |
| 24 | 1E46B4BF2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E46B4BE2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift */; }; | 25 | 1E46B4BF2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E46B4BE2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift */; }; |
| ... | @@ -212,6 +213,7 @@ | ... | @@ -212,6 +213,7 @@ |
| 212 | 1E151F1929DAE4D500951FA0 /* ActiveCodeTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActiveCodeTableViewCell.swift; sourceTree = "<group>"; }; | 213 | 1E151F1929DAE4D500951FA0 /* ActiveCodeTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActiveCodeTableViewCell.swift; sourceTree = "<group>"; }; |
| 213 | 1E15B9A129DDCF02000A408D /* MarketSharingHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarketSharingHistoryViewController.swift; sourceTree = "<group>"; }; | 214 | 1E15B9A129DDCF02000A408D /* MarketSharingHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarketSharingHistoryViewController.swift; sourceTree = "<group>"; }; |
| 214 | 1E15B9A329DDD211000A408D /* MarketHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarketHistoryViewController.swift; sourceTree = "<group>"; }; | 215 | 1E15B9A329DDD211000A408D /* MarketHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarketHistoryViewController.swift; sourceTree = "<group>"; }; |
| 216 | + 1E36E43C2CBFDD5100A60198 /* PopupInfoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PopupInfoViewController.swift; sourceTree = "<group>"; }; | ||
| 215 | 1E4195FA2AE691D20094DADE /* WalletActiveCouponsTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletActiveCouponsTableViewCell.swift; sourceTree = "<group>"; }; | 217 | 1E4195FA2AE691D20094DADE /* WalletActiveCouponsTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletActiveCouponsTableViewCell.swift; sourceTree = "<group>"; }; |
| 216 | 1E4410B028F5855000859F92 /* CampaignCategory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampaignCategory.swift; sourceTree = "<group>"; }; | 218 | 1E4410B028F5855000859F92 /* CampaignCategory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampaignCategory.swift; sourceTree = "<group>"; }; |
| 217 | 1E46B4BE2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletActiveCouponsScrollTableViewCell.swift; sourceTree = "<group>"; }; | 219 | 1E46B4BE2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletActiveCouponsScrollTableViewCell.swift; sourceTree = "<group>"; }; |
| ... | @@ -564,6 +566,7 @@ | ... | @@ -564,6 +566,7 @@ |
| 564 | 1EB236AC28816C560063777A /* NumberPopupViewController.swift */, | 566 | 1EB236AC28816C560063777A /* NumberPopupViewController.swift */, |
| 565 | 1EB236AE28816CAB0063777A /* NumbersTableViewCell.swift */, | 567 | 1EB236AE28816CAB0063777A /* NumbersTableViewCell.swift */, |
| 566 | 1EB5F4C728536FD60016F36E /* StepsViewController.swift */, | 568 | 1EB5F4C728536FD60016F36E /* StepsViewController.swift */, |
| 569 | + 1E36E43C2CBFDD5100A60198 /* PopupInfoViewController.swift */, | ||
| 567 | E6A77860282933E40045BBA8 /* MyApi.h */, | 570 | E6A77860282933E40045BBA8 /* MyApi.h */, |
| 568 | E6A778DC282933E60045BBA8 /* MyApi.m */, | 571 | E6A778DC282933E60045BBA8 /* MyApi.m */, |
| 569 | E6A77862282933E50045BBA8 /* MyEmptyClass.swift */, | 572 | E6A77862282933E50045BBA8 /* MyEmptyClass.swift */, |
| ... | @@ -1070,6 +1073,7 @@ | ... | @@ -1070,6 +1073,7 @@ |
| 1070 | 1E15B9A229DDCF02000A408D /* MarketSharingHistoryViewController.swift in Sources */, | 1073 | 1E15B9A229DDCF02000A408D /* MarketSharingHistoryViewController.swift in Sources */, |
| 1071 | A079366E2885D07700064122 /* AnalysisChildViewController.swift in Sources */, | 1074 | A079366E2885D07700064122 /* AnalysisChildViewController.swift in Sources */, |
| 1072 | E6A77950282933E70045BBA8 /* FMResultSet.m in Sources */, | 1075 | E6A77950282933E70045BBA8 /* FMResultSet.m in Sources */, |
| 1076 | + 1E36E43D2CBFDD5100A60198 /* PopupInfoViewController.swift in Sources */, | ||
| 1073 | 1E151F1A29DAE4D500951FA0 /* ActiveCodeTableViewCell.swift in Sources */, | 1077 | 1E151F1A29DAE4D500951FA0 /* ActiveCodeTableViewCell.swift in Sources */, |
| 1074 | E6A77936282933E70045BBA8 /* AFAutoPurgingImageCache.m in Sources */, | 1078 | E6A77936282933E70045BBA8 /* AFAutoPurgingImageCache.m in Sources */, |
| 1075 | A079367E2885F60A00064122 /* AnalysisHeaderMessageViewCell.swift in Sources */, | 1079 | A079367E2885F60A00064122 /* AnalysisHeaderMessageViewCell.swift in Sources */, | ... | ... |
No preview for this file type
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> | 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> |
| 3 | <device id="retina6_1" orientation="portrait" appearance="light"/> | 3 | <device id="retina6_1" orientation="portrait" appearance="light"/> |
| 4 | <dependencies> | 4 | <dependencies> |
| 5 | <deployment identifier="iOS"/> | 5 | <deployment identifier="iOS"/> |
| 6 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/> | 6 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/> |
| 7 | <capability name="Safe area layout guides" minToolsVersion="9.0"/> | 7 | <capability name="Safe area layout guides" minToolsVersion="9.0"/> |
| 8 | <capability name="System colors in document resources" minToolsVersion="11.0"/> | 8 | <capability name="System colors in document resources" minToolsVersion="11.0"/> |
| 9 | + <capability name="collection view cell content view" minToolsVersion="11.0"/> | ||
| 9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | 10 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
| 10 | </dependencies> | 11 | </dependencies> |
| 11 | <customFonts key="customFonts"> | 12 | <customFonts key="customFonts"> |
| ... | @@ -3469,22 +3470,22 @@ | ... | @@ -3469,22 +3470,22 @@ |
| 3469 | <autoresizingMask key="autoresizingMask"/> | 3470 | <autoresizingMask key="autoresizingMask"/> |
| 3470 | <subviews> | 3471 | <subviews> |
| 3471 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t2C-9l-nWs" userLabel="ParentView"> | 3472 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t2C-9l-nWs" userLabel="ParentView"> |
| 3472 | - <rect key="frame" x="0.0" y="0.0" width="414" height="175"/> | 3473 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
| 3473 | <subviews> | 3474 | <subviews> |
| 3474 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gO0-Pa-kWS" userLabel="SectionHeaderView"> | 3475 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gO0-Pa-kWS" userLabel="SectionHeaderView"> |
| 3475 | - <rect key="frame" x="20" y="0.0" width="374" height="72"/> | 3476 | + <rect key="frame" x="20" y="0.0" width="374" height="0.0"/> |
| 3476 | <subviews> | 3477 | <subviews> |
| 3477 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κουπόνια" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IXl-Ba-HgN"> | 3478 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κουπόνια" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IXl-Ba-HgN"> |
| 3478 | - <rect key="frame" x="0.0" y="25" width="330" height="22"/> | 3479 | + <rect key="frame" x="0.0" y="25" width="330" height="0.0"/> |
| 3479 | <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> | 3480 | <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> |
| 3480 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3481 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 3481 | <nil key="highlightedColor"/> | 3482 | <nil key="highlightedColor"/> |
| 3482 | </label> | 3483 | </label> |
| 3483 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="P3a-gV-vNS"> | 3484 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="P3a-gV-vNS"> |
| 3484 | - <rect key="frame" x="330" y="0.0" width="44" height="72"/> | 3485 | + <rect key="frame" x="330" y="0.0" width="44" height="0.0"/> |
| 3485 | <subviews> | 3486 | <subviews> |
| 3486 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="XbI-ey-mgh"> | 3487 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="XbI-ey-mgh"> |
| 3487 | - <rect key="frame" x="10" y="24" width="24" height="24"/> | 3488 | + <rect key="frame" x="10" y="-12" width="24" height="24"/> |
| 3488 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3489 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3489 | <constraints> | 3490 | <constraints> |
| 3490 | <constraint firstAttribute="height" constant="24" id="c60-7W-8Dq"/> | 3491 | <constraint firstAttribute="height" constant="24" id="c60-7W-8Dq"/> |
| ... | @@ -3492,7 +3493,7 @@ | ... | @@ -3492,7 +3493,7 @@ |
| 3492 | </constraints> | 3493 | </constraints> |
| 3493 | </imageView> | 3494 | </imageView> |
| 3494 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YMc-Qb-txy"> | 3495 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YMc-Qb-txy"> |
| 3495 | - <rect key="frame" x="0.0" y="0.0" width="44" height="72"/> | 3496 | + <rect key="frame" x="0.0" y="0.0" width="44" height="0.0"/> |
| 3496 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3497 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3497 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/> | 3498 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/> |
| 3498 | <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> | 3499 | <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> |
| ... | @@ -3528,27 +3529,27 @@ | ... | @@ -3528,27 +3529,27 @@ |
| 3528 | </constraints> | 3529 | </constraints> |
| 3529 | </view> | 3530 | </view> |
| 3530 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ago-Pf-BGo"> | 3531 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ago-Pf-BGo"> |
| 3531 | - <rect key="frame" x="20" y="75" width="111.5" height="97"/> | 3532 | + <rect key="frame" x="20" y="3" width="111.5" height="38"/> |
| 3532 | <subviews> | 3533 | <subviews> |
| 3533 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Phm-pC-5YX"> | 3534 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Phm-pC-5YX"> |
| 3534 | - <rect key="frame" x="0.0" y="0.0" width="111.5" height="97"/> | 3535 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="38"/> |
| 3535 | <subviews> | 3536 | <subviews> |
| 3536 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wLH-YV-5Bn"> | 3537 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wLH-YV-5Bn"> |
| 3537 | - <rect key="frame" x="29.5" y="15" width="52" height="32"/> | 3538 | + <rect key="frame" x="29.5" y="15" width="52" height="0.0"/> |
| 3538 | <constraints> | 3539 | <constraints> |
| 3539 | <constraint firstAttribute="height" constant="32" id="EtR-nn-mGe"/> | 3540 | <constraint firstAttribute="height" constant="32" id="EtR-nn-mGe"/> |
| 3540 | <constraint firstAttribute="width" constant="52" id="cGb-tB-T1G"/> | 3541 | <constraint firstAttribute="width" constant="52" id="cGb-tB-T1G"/> |
| 3541 | </constraints> | 3542 | </constraints> |
| 3542 | </imageView> | 3543 | </imageView> |
| 3543 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wBk-nW-MGe" userLabel="LineView1"> | 3544 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wBk-nW-MGe" userLabel="LineView1"> |
| 3544 | - <rect key="frame" x="10" y="57" width="91.5" height="1"/> | 3545 | + <rect key="frame" x="10" y="25" width="91.5" height="0.0"/> |
| 3545 | <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/> | 3546 | <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/> |
| 3546 | <constraints> | 3547 | <constraints> |
| 3547 | <constraint firstAttribute="height" constant="1" id="sfB-Gv-awg"/> | 3548 | <constraint firstAttribute="height" constant="1" id="sfB-Gv-awg"/> |
| 3548 | </constraints> | 3549 | </constraints> |
| 3549 | </view> | 3550 | </view> |
| 3550 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DEALS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TZr-sg-ajR"> | 3551 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DEALS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TZr-sg-ajR"> |
| 3551 | - <rect key="frame" x="5" y="68" width="101.5" height="14"/> | 3552 | + <rect key="frame" x="5" y="23" width="101.5" height="0.0"/> |
| 3552 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3553 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
| 3553 | <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | 3554 | <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> |
| 3554 | <nil key="highlightedColor"/> | 3555 | <nil key="highlightedColor"/> |
| ... | @@ -3572,7 +3573,7 @@ | ... | @@ -3572,7 +3573,7 @@ |
| 3572 | </constraints> | 3573 | </constraints> |
| 3573 | </view> | 3574 | </view> |
| 3574 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gr4-DX-CHP"> | 3575 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gr4-DX-CHP"> |
| 3575 | - <rect key="frame" x="0.0" y="0.0" width="111.5" height="97"/> | 3576 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="38"/> |
| 3576 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3577 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3577 | <state key="normal" title="Button"/> | 3578 | <state key="normal" title="Button"/> |
| 3578 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 3579 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
| ... | @@ -3612,24 +3613,24 @@ | ... | @@ -3612,24 +3613,24 @@ |
| 3612 | </constraints> | 3613 | </constraints> |
| 3613 | </view> | 3614 | </view> |
| 3614 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gZG-f4-H22"> | 3615 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gZG-f4-H22"> |
| 3615 | - <rect key="frame" x="151.5" y="75" width="111" height="97"/> | 3616 | + <rect key="frame" x="151.5" y="3" width="111" height="38"/> |
| 3616 | <subviews> | 3617 | <subviews> |
| 3617 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="qYJ-x0-9v3"> | 3618 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="qYJ-x0-9v3"> |
| 3618 | - <rect key="frame" x="39.5" y="15" width="32" height="32"/> | 3619 | + <rect key="frame" x="39.5" y="15" width="32" height="0.0"/> |
| 3619 | <constraints> | 3620 | <constraints> |
| 3620 | <constraint firstAttribute="height" constant="32" id="Eam-Dq-yk8"/> | 3621 | <constraint firstAttribute="height" constant="32" id="Eam-Dq-yk8"/> |
| 3621 | <constraint firstAttribute="width" constant="32" id="T94-6W-v1V"/> | 3622 | <constraint firstAttribute="width" constant="32" id="T94-6W-v1V"/> |
| 3622 | </constraints> | 3623 | </constraints> |
| 3623 | </imageView> | 3624 | </imageView> |
| 3624 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0n-5v-nTc" userLabel="LineView2"> | 3625 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0n-5v-nTc" userLabel="LineView2"> |
| 3625 | - <rect key="frame" x="10" y="57" width="91" height="1"/> | 3626 | + <rect key="frame" x="10" y="25" width="91" height="0.0"/> |
| 3626 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | 3627 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> |
| 3627 | <constraints> | 3628 | <constraints> |
| 3628 | <constraint firstAttribute="height" constant="1" id="2h1-Yb-N6x"/> | 3629 | <constraint firstAttribute="height" constant="1" id="2h1-Yb-N6x"/> |
| 3629 | </constraints> | 3630 | </constraints> |
| 3630 | </view> | 3631 | </view> |
| 3631 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Super Market" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fPZ-hU-LRI"> | 3632 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Super Market" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fPZ-hU-LRI"> |
| 3632 | - <rect key="frame" x="5" y="68" width="101" height="14"/> | 3633 | + <rect key="frame" x="5" y="23" width="101" height="0.0"/> |
| 3633 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3634 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
| 3634 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3635 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 3635 | <nil key="highlightedColor"/> | 3636 | <nil key="highlightedColor"/> |
| ... | @@ -3653,7 +3654,7 @@ | ... | @@ -3653,7 +3654,7 @@ |
| 3653 | </constraints> | 3654 | </constraints> |
| 3654 | </view> | 3655 | </view> |
| 3655 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tCp-jb-GB2"> | 3656 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tCp-jb-GB2"> |
| 3656 | - <rect key="frame" x="0.0" y="0.0" width="111" height="97"/> | 3657 | + <rect key="frame" x="0.0" y="0.0" width="111" height="38"/> |
| 3657 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3658 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3658 | <state key="normal" title="Button"/> | 3659 | <state key="normal" title="Button"/> |
| 3659 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 3660 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
| ... | @@ -3684,24 +3685,24 @@ | ... | @@ -3684,24 +3685,24 @@ |
| 3684 | </constraints> | 3685 | </constraints> |
| 3685 | </view> | 3686 | </view> |
| 3686 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hW7-Fh-jaW"> | 3687 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hW7-Fh-jaW"> |
| 3687 | - <rect key="frame" x="282.5" y="75" width="111.5" height="97"/> | 3688 | + <rect key="frame" x="282.5" y="3" width="111.5" height="38"/> |
| 3688 | <subviews> | 3689 | <subviews> |
| 3689 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JSL-ST-Uzv"> | 3690 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JSL-ST-Uzv"> |
| 3690 | - <rect key="frame" x="40" y="15" width="32" height="32"/> | 3691 | + <rect key="frame" x="40" y="15" width="32" height="0.0"/> |
| 3691 | <constraints> | 3692 | <constraints> |
| 3692 | <constraint firstAttribute="width" constant="32" id="hUR-TJ-yVm"/> | 3693 | <constraint firstAttribute="width" constant="32" id="hUR-TJ-yVm"/> |
| 3693 | <constraint firstAttribute="height" constant="32" id="ll3-xS-hwd"/> | 3694 | <constraint firstAttribute="height" constant="32" id="ll3-xS-hwd"/> |
| 3694 | </constraints> | 3695 | </constraints> |
| 3695 | </imageView> | 3696 | </imageView> |
| 3696 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90x-B7-1Hx" userLabel="LineView3"> | 3697 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90x-B7-1Hx" userLabel="LineView3"> |
| 3697 | - <rect key="frame" x="10" y="57" width="91.5" height="1"/> | 3698 | + <rect key="frame" x="10" y="25" width="91.5" height="0.0"/> |
| 3698 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | 3699 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> |
| 3699 | <constraints> | 3700 | <constraints> |
| 3700 | <constraint firstAttribute="height" constant="1" id="ojI-ru-A13"/> | 3701 | <constraint firstAttribute="height" constant="1" id="ojI-ru-A13"/> |
| 3701 | </constraints> | 3702 | </constraints> |
| 3702 | </view> | 3703 | </view> |
| 3703 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GIFTS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QVo-4f-20j"> | 3704 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GIFTS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QVo-4f-20j"> |
| 3704 | - <rect key="frame" x="5" y="68" width="101.5" height="14"/> | 3705 | + <rect key="frame" x="5" y="23" width="101.5" height="0.0"/> |
| 3705 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3706 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
| 3706 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3707 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 3707 | <nil key="highlightedColor"/> | 3708 | <nil key="highlightedColor"/> |
| ... | @@ -3725,7 +3726,7 @@ | ... | @@ -3725,7 +3726,7 @@ |
| 3725 | </constraints> | 3726 | </constraints> |
| 3726 | </view> | 3727 | </view> |
| 3727 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CeN-GT-tVP"> | 3728 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CeN-GT-tVP"> |
| 3728 | - <rect key="frame" x="0.0" y="0.0" width="111.5" height="97"/> | 3729 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="38"/> |
| 3729 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3730 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3730 | <state key="normal" title="Button"/> | 3731 | <state key="normal" title="Button"/> |
| 3731 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 3732 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
| ... | @@ -3813,22 +3814,22 @@ | ... | @@ -3813,22 +3814,22 @@ |
| 3813 | <autoresizingMask key="autoresizingMask"/> | 3814 | <autoresizingMask key="autoresizingMask"/> |
| 3814 | <subviews> | 3815 | <subviews> |
| 3815 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rxz-OW-JrT" userLabel="ParentView"> | 3816 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rxz-OW-JrT" userLabel="ParentView"> |
| 3816 | - <rect key="frame" x="0.0" y="0.0" width="414" height="215"/> | 3817 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
| 3817 | <subviews> | 3818 | <subviews> |
| 3818 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MJO-Kh-Ko2" userLabel="SectionHeaderView"> | 3819 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MJO-Kh-Ko2" userLabel="SectionHeaderView"> |
| 3819 | - <rect key="frame" x="20" y="0.0" width="374" height="72"/> | 3820 | + <rect key="frame" x="20" y="0.0" width="374" height="16"/> |
| 3820 | <subviews> | 3821 | <subviews> |
| 3821 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κουπόνια" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2hO-dB-t2z"> | 3822 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κουπόνια" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2hO-dB-t2z"> |
| 3822 | - <rect key="frame" x="0.0" y="25" width="330" height="22"/> | 3823 | + <rect key="frame" x="0.0" y="25" width="330" height="0.0"/> |
| 3823 | <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> | 3824 | <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> |
| 3824 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3825 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 3825 | <nil key="highlightedColor"/> | 3826 | <nil key="highlightedColor"/> |
| 3826 | </label> | 3827 | </label> |
| 3827 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AtL-ey-4f6"> | 3828 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AtL-ey-4f6"> |
| 3828 | - <rect key="frame" x="330" y="0.0" width="44" height="72"/> | 3829 | + <rect key="frame" x="330" y="0.0" width="44" height="16"/> |
| 3829 | <subviews> | 3830 | <subviews> |
| 3830 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Dhs-5p-kfA"> | 3831 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Dhs-5p-kfA"> |
| 3831 | - <rect key="frame" x="10" y="24" width="24" height="24"/> | 3832 | + <rect key="frame" x="10" y="-4" width="24" height="24"/> |
| 3832 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3833 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3833 | <constraints> | 3834 | <constraints> |
| 3834 | <constraint firstAttribute="width" constant="24" id="C0n-BO-5Ig"/> | 3835 | <constraint firstAttribute="width" constant="24" id="C0n-BO-5Ig"/> |
| ... | @@ -3836,7 +3837,7 @@ | ... | @@ -3836,7 +3837,7 @@ |
| 3836 | </constraints> | 3837 | </constraints> |
| 3837 | </imageView> | 3838 | </imageView> |
| 3838 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nmF-FM-3Dl"> | 3839 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nmF-FM-3Dl"> |
| 3839 | - <rect key="frame" x="0.0" y="0.0" width="44" height="72"/> | 3840 | + <rect key="frame" x="0.0" y="0.0" width="44" height="16"/> |
| 3840 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3841 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3841 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/> | 3842 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/> |
| 3842 | <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> | 3843 | <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> |
| ... | @@ -3872,7 +3873,7 @@ | ... | @@ -3872,7 +3873,7 @@ |
| 3872 | </constraints> | 3873 | </constraints> |
| 3873 | </view> | 3874 | </view> |
| 3874 | <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="EyD-RJ-rIp"> | 3875 | <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="EyD-RJ-rIp"> |
| 3875 | - <rect key="frame" x="0.0" y="72" width="414" height="111"/> | 3876 | + <rect key="frame" x="0.0" y="16" width="414" height="0.0"/> |
| 3876 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3877 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 3877 | <constraints> | 3878 | <constraints> |
| 3878 | <constraint firstAttribute="height" constant="111" id="3wv-Hz-46X"/> | 3879 | <constraint firstAttribute="height" constant="111" id="3wv-Hz-46X"/> |
| ... | @@ -3885,43 +3886,41 @@ | ... | @@ -3885,43 +3886,41 @@ |
| 3885 | </collectionViewFlowLayout> | 3886 | </collectionViewFlowLayout> |
| 3886 | <cells> | 3887 | <cells> |
| 3887 | <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="WalletActiveCouponCollectionViewCellId" id="Eor-XE-4aH" customClass="WalletActiveCouponCollectionViewCell" customModule="SwiftWarplyFramework"> | 3888 | <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="WalletActiveCouponCollectionViewCellId" id="Eor-XE-4aH" customClass="WalletActiveCouponCollectionViewCell" customModule="SwiftWarplyFramework"> |
| 3888 | - <rect key="frame" x="0.0" y="-4.5" width="128" height="120"/> | ||
| 3889 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | 3889 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
| 3890 | - <collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="Vto-3P-uxe"> | 3890 | + <collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" id="Vto-3P-uxe"> |
| 3891 | - <rect key="frame" x="0.0" y="0.0" width="128" height="120"/> | ||
| 3892 | <autoresizingMask key="autoresizingMask"/> | 3891 | <autoresizingMask key="autoresizingMask"/> |
| 3893 | <subviews> | 3892 | <subviews> |
| 3894 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ox8-yu-dI6"> | 3893 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ox8-yu-dI6"> |
| 3895 | - <rect key="frame" x="3" y="3" width="122" height="114"/> | 3894 | + <rect key="frame" x="3" y="3" width="105" height="105"/> |
| 3896 | <subviews> | 3895 | <subviews> |
| 3897 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WVl-6a-JH0"> | 3896 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WVl-6a-JH0"> |
| 3898 | - <rect key="frame" x="0.0" y="0.0" width="122" height="114"/> | 3897 | + <rect key="frame" x="0.0" y="0.0" width="105" height="105"/> |
| 3899 | <subviews> | 3898 | <subviews> |
| 3900 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gUX-WV-zZt"> | 3899 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gUX-WV-zZt"> |
| 3901 | - <rect key="frame" x="35" y="10" width="52" height="32"/> | 3900 | + <rect key="frame" x="26.5" y="10" width="52" height="32"/> |
| 3902 | <constraints> | 3901 | <constraints> |
| 3903 | <constraint firstAttribute="height" constant="32" id="FBL-VI-Kwc"/> | 3902 | <constraint firstAttribute="height" constant="32" id="FBL-VI-Kwc"/> |
| 3904 | <constraint firstAttribute="width" constant="52" id="iBB-wn-hOG"/> | 3903 | <constraint firstAttribute="width" constant="52" id="iBB-wn-hOG"/> |
| 3905 | </constraints> | 3904 | </constraints> |
| 3906 | </imageView> | 3905 | </imageView> |
| 3907 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dgT-fT-NTH" userLabel="LineView1"> | 3906 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dgT-fT-NTH" userLabel="LineView1"> |
| 3908 | - <rect key="frame" x="10" y="52" width="102" height="1"/> | 3907 | + <rect key="frame" x="10" y="52" width="85" height="1"/> |
| 3909 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | 3908 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> |
| 3910 | <constraints> | 3909 | <constraints> |
| 3911 | <constraint firstAttribute="height" constant="1" id="ALk-cJ-BeQ"/> | 3910 | <constraint firstAttribute="height" constant="1" id="ALk-cJ-BeQ"/> |
| 3912 | </constraints> | 3911 | </constraints> |
| 3913 | </view> | 3912 | </view> |
| 3914 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DEALS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QR8-0V-UdT"> | 3913 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DEALS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QR8-0V-UdT"> |
| 3915 | - <rect key="frame" x="5" y="63" width="112" height="41"/> | 3914 | + <rect key="frame" x="5" y="63" width="95" height="32"/> |
| 3916 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3915 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
| 3917 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3916 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 3918 | <nil key="highlightedColor"/> | 3917 | <nil key="highlightedColor"/> |
| 3919 | </label> | 3918 | </label> |
| 3920 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VfO-t2-8Hv"> | 3919 | + <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="VfO-t2-8Hv"> |
| 3921 | - <rect key="frame" x="104.5" y="0.0" width="17.5" height="18"/> | 3920 | + <rect key="frame" x="88.5" y="0.0" width="16.5" height="17"/> |
| 3922 | <subviews> | 3921 | <subviews> |
| 3923 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="08v-m0-r0a"> | 3922 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="08v-m0-r0a"> |
| 3924 | - <rect key="frame" x="5" y="2" width="7.5" height="14"/> | 3923 | + <rect key="frame" x="5" y="2" width="6.5" height="13"/> |
| 3925 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3924 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
| 3926 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3925 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 3927 | <nil key="highlightedColor"/> | 3926 | <nil key="highlightedColor"/> |
| ... | @@ -3987,10 +3986,10 @@ | ... | @@ -3987,10 +3986,10 @@ |
| 3987 | </connections> | 3986 | </connections> |
| 3988 | </collectionView> | 3987 | </collectionView> |
| 3989 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nd4-bx-LoE" userLabel="PagingView"> | 3988 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nd4-bx-LoE" userLabel="PagingView"> |
| 3990 | - <rect key="frame" x="192" y="203" width="30" height="12"/> | 3989 | + <rect key="frame" x="192" y="36" width="30" height="8"/> |
| 3991 | <subviews> | 3990 | <subviews> |
| 3992 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6qP-Na-oHn" userLabel="DotLeftView"> | 3991 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6qP-Na-oHn" userLabel="DotLeftView"> |
| 3993 | - <rect key="frame" x="0.0" y="0.0" width="12" height="12"/> | 3992 | + <rect key="frame" x="0.0" y="0.0" width="12" height="8"/> |
| 3994 | <color key="backgroundColor" red="0.0" green="0.6470588235294118" blue="0.8901960784313725" alpha="1" colorSpace="calibratedRGB"/> | 3993 | <color key="backgroundColor" red="0.0" green="0.6470588235294118" blue="0.8901960784313725" alpha="1" colorSpace="calibratedRGB"/> |
| 3995 | <constraints> | 3994 | <constraints> |
| 3996 | <constraint firstAttribute="height" constant="12" id="bgT-ch-1Ys"/> | 3995 | <constraint firstAttribute="height" constant="12" id="bgT-ch-1Ys"/> |
| ... | @@ -3998,7 +3997,7 @@ | ... | @@ -3998,7 +3997,7 @@ |
| 3998 | </constraints> | 3997 | </constraints> |
| 3999 | </view> | 3998 | </view> |
| 4000 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lSo-ay-XsD" userLabel="DotRightView"> | 3999 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lSo-ay-XsD" userLabel="DotRightView"> |
| 4001 | - <rect key="frame" x="22" y="2" width="8" height="8"/> | 4000 | + <rect key="frame" x="22" y="0.0" width="8" height="8"/> |
| 4002 | <color key="backgroundColor" red="0.0" green="0.6470588235294118" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 4001 | <color key="backgroundColor" red="0.0" green="0.6470588235294118" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 4003 | <constraints> | 4002 | <constraints> |
| 4004 | <constraint firstAttribute="width" constant="8" id="15e-YJ-Pxi"/> | 4003 | <constraint firstAttribute="width" constant="8" id="15e-YJ-Pxi"/> |
| ... | @@ -4055,14 +4054,14 @@ | ... | @@ -4055,14 +4054,14 @@ |
| 4055 | </connections> | 4054 | </connections> |
| 4056 | </tableViewCell> | 4055 | </tableViewCell> |
| 4057 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletVouchersBannerTableViewCellId" id="F1i-u5-1v2" customClass="WalletVouchersBannerTableViewCell" customModule="SwiftWarplyFramework"> | 4056 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletVouchersBannerTableViewCellId" id="F1i-u5-1v2" customClass="WalletVouchersBannerTableViewCell" customModule="SwiftWarplyFramework"> |
| 4058 | - <rect key="frame" x="0.0" y="1338.5" width="414" height="141"/> | 4057 | + <rect key="frame" x="0.0" y="1338.5" width="414" height="44"/> |
| 4059 | <autoresizingMask key="autoresizingMask"/> | 4058 | <autoresizingMask key="autoresizingMask"/> |
| 4060 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="F1i-u5-1v2" id="q9T-Eg-Gxw"> | 4059 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="F1i-u5-1v2" id="q9T-Eg-Gxw"> |
| 4061 | - <rect key="frame" x="0.0" y="0.0" width="414" height="141"/> | 4060 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
| 4062 | <autoresizingMask key="autoresizingMask"/> | 4061 | <autoresizingMask key="autoresizingMask"/> |
| 4063 | <subviews> | 4062 | <subviews> |
| 4064 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FVK-Ht-BOg" userLabel="ParentView"> | 4063 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FVK-Ht-BOg" userLabel="ParentView"> |
| 4065 | - <rect key="frame" x="0.0" y="0.0" width="414" height="141"/> | 4064 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
| 4066 | <subviews> | 4065 | <subviews> |
| 4067 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zKi-zm-jUP"> | 4066 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zKi-zm-jUP"> |
| 4068 | <rect key="frame" x="20" y="25" width="374" height="1"/> | 4067 | <rect key="frame" x="20" y="25" width="374" height="1"/> |
| ... | @@ -4072,28 +4071,28 @@ | ... | @@ -4072,28 +4071,28 @@ |
| 4072 | </constraints> | 4071 | </constraints> |
| 4073 | </view> | 4072 | </view> |
| 4074 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0yZ-ge-5qY"> | 4073 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0yZ-ge-5qY"> |
| 4075 | - <rect key="frame" x="20" y="25" width="374" height="22"/> | 4074 | + <rect key="frame" x="20" y="25" width="374" height="0.0"/> |
| 4076 | <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> | 4075 | <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> |
| 4077 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 4076 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 4078 | <nil key="highlightedColor"/> | 4077 | <nil key="highlightedColor"/> |
| 4079 | </label> | 4078 | </label> |
| 4080 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH"> | 4079 | + <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH"> |
| 4081 | <rect key="frame" x="20" y="72" width="374" height="66"/> | 4080 | <rect key="frame" x="20" y="72" width="374" height="66"/> |
| 4082 | <subviews> | 4081 | <subviews> |
| 4083 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE"> | 4082 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE"> |
| 4084 | <rect key="frame" x="20" y="18" width="30" height="30"/> | 4083 | <rect key="frame" x="20" y="18" width="30" height="30"/> |
| 4085 | <constraints> | 4084 | <constraints> |
| 4086 | <constraint firstAttribute="width" constant="30" id="06g-Cm-Q4z"/> | 4085 | <constraint firstAttribute="width" constant="30" id="06g-Cm-Q4z"/> |
| 4087 | <constraint firstAttribute="height" constant="30" id="GoZ-qT-Whp"/> | 4086 | <constraint firstAttribute="height" constant="30" id="GoZ-qT-Whp"/> |
| 4088 | </constraints> | 4087 | </constraints> |
| 4089 | </imageView> | 4088 | </imageView> |
| 4090 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2p1-v2-lAL"> | 4089 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2p1-v2-lAL"> |
| 4091 | <rect key="frame" x="60" y="23" width="164" height="20"/> | 4090 | <rect key="frame" x="60" y="23" width="164" height="20"/> |
| 4092 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> | 4091 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> |
| 4093 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 4092 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
| 4094 | <nil key="highlightedColor"/> | 4093 | <nil key="highlightedColor"/> |
| 4095 | </label> | 4094 | </label> |
| 4096 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AKD-A9-ah0"> | 4095 | + <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AKD-A9-ah0"> |
| 4097 | <rect key="frame" x="224" y="14" width="17.5" height="18"/> | 4096 | <rect key="frame" x="224" y="14" width="17.5" height="18"/> |
| 4098 | <subviews> | 4097 | <subviews> |
| 4099 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BwW-J2-1Sz"> | 4098 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BwW-J2-1Sz"> |
| ... | @@ -4111,7 +4110,7 @@ | ... | @@ -4111,7 +4110,7 @@ |
| 4111 | <constraint firstAttribute="trailing" secondItem="BwW-J2-1Sz" secondAttribute="trailing" constant="5" id="ncp-fn-LRV"/> | 4110 | <constraint firstAttribute="trailing" secondItem="BwW-J2-1Sz" secondAttribute="trailing" constant="5" id="ncp-fn-LRV"/> |
| 4112 | </constraints> | 4111 | </constraints> |
| 4113 | </view> | 4112 | </view> |
| 4114 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep"> | 4113 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep"> |
| 4115 | <rect key="frame" x="337" y="24.5" width="17" height="17"/> | 4114 | <rect key="frame" x="337" y="24.5" width="17" height="17"/> |
| 4116 | <constraints> | 4115 | <constraints> |
| 4117 | <constraint firstAttribute="height" constant="17" id="ATK-3R-8Yb"/> | 4116 | <constraint firstAttribute="height" constant="17" id="ATK-3R-8Yb"/> |
| ... | @@ -4174,7 +4173,7 @@ | ... | @@ -4174,7 +4173,7 @@ |
| 4174 | </connections> | 4173 | </connections> |
| 4175 | </tableViewCell> | 4174 | </tableViewCell> |
| 4176 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletSpinnerTableViewCellId" id="ShU-xo-DhW" customClass="WalletSpinnerTableViewCell" customModule="SwiftWarplyFramework"> | 4175 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletSpinnerTableViewCellId" id="ShU-xo-DhW" customClass="WalletSpinnerTableViewCell" customModule="SwiftWarplyFramework"> |
| 4177 | - <rect key="frame" x="0.0" y="1479.5" width="414" height="44"/> | 4176 | + <rect key="frame" x="0.0" y="1382.5" width="414" height="44"/> |
| 4178 | <autoresizingMask key="autoresizingMask"/> | 4177 | <autoresizingMask key="autoresizingMask"/> |
| 4179 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ShU-xo-DhW" id="U4r-xF-gbA"> | 4178 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ShU-xo-DhW" id="U4r-xF-gbA"> |
| 4180 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 4179 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
| ... | @@ -4214,7 +4213,7 @@ | ... | @@ -4214,7 +4213,7 @@ |
| 4214 | </connections> | 4213 | </connections> |
| 4215 | </tableViewCell> | 4214 | </tableViewCell> |
| 4216 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletQuestionnaireBannerTableViewCellId" id="AKr-2x-5Nd" customClass="WalletQuestionnaireBannerTableViewCell" customModule="SwiftWarplyFramework"> | 4215 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletQuestionnaireBannerTableViewCellId" id="AKr-2x-5Nd" customClass="WalletQuestionnaireBannerTableViewCell" customModule="SwiftWarplyFramework"> |
| 4217 | - <rect key="frame" x="0.0" y="1523.5" width="414" height="62"/> | 4216 | + <rect key="frame" x="0.0" y="1426.5" width="414" height="62"/> |
| 4218 | <autoresizingMask key="autoresizingMask"/> | 4217 | <autoresizingMask key="autoresizingMask"/> |
| 4219 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="AKr-2x-5Nd" id="nPE-tM-hVS"> | 4218 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="AKr-2x-5Nd" id="nPE-tM-hVS"> |
| 4220 | <rect key="frame" x="0.0" y="0.0" width="414" height="62"/> | 4219 | <rect key="frame" x="0.0" y="0.0" width="414" height="62"/> |
| ... | @@ -4310,7 +4309,7 @@ | ... | @@ -4310,7 +4309,7 @@ |
| 4310 | </connections> | 4309 | </connections> |
| 4311 | </tableViewCell> | 4310 | </tableViewCell> |
| 4312 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletHistoryBannerTableViewCellId" id="DQm-p5-XtS" customClass="WalletHistoryBannerTableViewCell" customModule="SwiftWarplyFramework"> | 4311 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletHistoryBannerTableViewCellId" id="DQm-p5-XtS" customClass="WalletHistoryBannerTableViewCell" customModule="SwiftWarplyFramework"> |
| 4313 | - <rect key="frame" x="0.0" y="1585.5" width="414" height="44"/> | 4312 | + <rect key="frame" x="0.0" y="1488.5" width="414" height="44"/> |
| 4314 | <autoresizingMask key="autoresizingMask"/> | 4313 | <autoresizingMask key="autoresizingMask"/> |
| 4315 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DQm-p5-XtS" id="bjo-yS-hIR"> | 4314 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DQm-p5-XtS" id="bjo-yS-hIR"> |
| 4316 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 4315 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
| ... | @@ -4381,7 +4380,7 @@ | ... | @@ -4381,7 +4380,7 @@ |
| 4381 | </connections> | 4380 | </connections> |
| 4382 | </tableViewCell> | 4381 | </tableViewCell> |
| 4383 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletEmptyViewTableViewCellId" id="lSc-gs-vcx" customClass="WalletEmptyViewTableViewCell" customModule="SwiftWarplyFramework"> | 4382 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletEmptyViewTableViewCellId" id="lSc-gs-vcx" customClass="WalletEmptyViewTableViewCell" customModule="SwiftWarplyFramework"> |
| 4384 | - <rect key="frame" x="0.0" y="1629.5" width="414" height="44"/> | 4383 | + <rect key="frame" x="0.0" y="1532.5" width="414" height="44"/> |
| 4385 | <autoresizingMask key="autoresizingMask"/> | 4384 | <autoresizingMask key="autoresizingMask"/> |
| 4386 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="lSc-gs-vcx" id="AOI-dP-A0r"> | 4385 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="lSc-gs-vcx" id="AOI-dP-A0r"> |
| 4387 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 4386 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
| ... | @@ -6131,6 +6130,104 @@ | ... | @@ -6131,6 +6130,104 @@ |
| 6131 | </objects> | 6130 | </objects> |
| 6132 | <point key="canvasLocation" x="3903" y="-555"/> | 6131 | <point key="canvasLocation" x="3903" y="-555"/> |
| 6133 | </scene> | 6132 | </scene> |
| 6133 | + <!--Popup Info View Controller--> | ||
| 6134 | + <scene sceneID="W3C-eQ-gy5"> | ||
| 6135 | + <objects> | ||
| 6136 | + <viewController storyboardIdentifier="PopupInfoViewController" hidesBottomBarWhenPushed="YES" id="Vbn-op-hH3" customClass="PopupInfoViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> | ||
| 6137 | + <view key="view" contentMode="scaleToFill" id="iDh-Ie-Yrc"> | ||
| 6138 | + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | ||
| 6139 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
| 6140 | + <subviews> | ||
| 6141 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ehx-JG-A7m"> | ||
| 6142 | + <rect key="frame" x="36" y="53" width="342" height="233.5"/> | ||
| 6143 | + <subviews> | ||
| 6144 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1to-ht-Vk8" userLabel="Header View"> | ||
| 6145 | + <rect key="frame" x="24" y="30" width="294" height="20"/> | ||
| 6146 | + <subviews> | ||
| 6147 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="SUPERMARKET DEALS" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JEh-zR-MnJ"> | ||
| 6148 | + <rect key="frame" x="0.0" y="0.0" width="244" height="20"/> | ||
| 6149 | + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="17"/> | ||
| 6150 | + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | ||
| 6151 | + <nil key="highlightedColor"/> | ||
| 6152 | + </label> | ||
| 6153 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="M8y-6I-J6x"> | ||
| 6154 | + <rect key="frame" x="264" y="-5" width="30" height="30"/> | ||
| 6155 | + <constraints> | ||
| 6156 | + <constraint firstAttribute="width" constant="30" id="V5H-6n-5Pt"/> | ||
| 6157 | + <constraint firstAttribute="height" constant="30" id="jXV-Lb-fSI"/> | ||
| 6158 | + </constraints> | ||
| 6159 | + <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> | ||
| 6160 | + <state key="normal" image="ic_close_2"/> | ||
| 6161 | + <connections> | ||
| 6162 | + <action selector="closeButtonAction:" destination="86r-jf-E5J" eventType="touchUpInside" id="VtF-gM-KEf"/> | ||
| 6163 | + <action selector="headerCloseButtonAction:" destination="Vbn-op-hH3" eventType="touchUpInside" id="jcM-Lt-u89"/> | ||
| 6164 | + </connections> | ||
| 6165 | + </button> | ||
| 6166 | + </subviews> | ||
| 6167 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
| 6168 | + <constraints> | ||
| 6169 | + <constraint firstItem="M8y-6I-J6x" firstAttribute="leading" secondItem="JEh-zR-MnJ" secondAttribute="trailing" constant="20" id="4hl-Cn-B5V"/> | ||
| 6170 | + <constraint firstItem="M8y-6I-J6x" firstAttribute="centerY" secondItem="1to-ht-Vk8" secondAttribute="centerY" id="daz-VI-SZh"/> | ||
| 6171 | + <constraint firstAttribute="bottom" secondItem="JEh-zR-MnJ" secondAttribute="bottom" id="eqe-23-maI"/> | ||
| 6172 | + <constraint firstItem="JEh-zR-MnJ" firstAttribute="top" secondItem="1to-ht-Vk8" secondAttribute="top" id="etw-Ds-7rI"/> | ||
| 6173 | + <constraint firstItem="JEh-zR-MnJ" firstAttribute="leading" secondItem="1to-ht-Vk8" secondAttribute="leading" id="j7x-Xz-PSi"/> | ||
| 6174 | + <constraint firstAttribute="trailing" secondItem="M8y-6I-J6x" secondAttribute="trailing" id="oSv-5h-3Z7"/> | ||
| 6175 | + </constraints> | ||
| 6176 | + </view> | ||
| 6177 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ly9-LO-Xmv"> | ||
| 6178 | + <rect key="frame" x="24" y="67" width="294" height="98.5"/> | ||
| 6179 | + <string key="text">Δημιούργησε το δικό σου ενιαίο κουπόνι προσφορών, και εξαργύρωσέ το στα supermarket της επιλογής σου γρήγορα και εύκολα με ένα μόνο κωδικό κουπονιού!</string> | ||
| 6180 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> | ||
| 6181 | + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | ||
| 6182 | + <nil key="highlightedColor"/> | ||
| 6183 | + </label> | ||
| 6184 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rCv-5F-ecY"> | ||
| 6185 | + <rect key="frame" x="279" y="185.5" width="39" height="30"/> | ||
| 6186 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
| 6187 | + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="14"/> | ||
| 6188 | + <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> | ||
| 6189 | + <state key="normal" title="Τέλος"> | ||
| 6190 | + <color key="titleColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | ||
| 6191 | + </state> | ||
| 6192 | + <connections> | ||
| 6193 | + <action selector="submitButtonAction:" destination="Vbn-op-hH3" eventType="touchUpInside" id="vlr-lh-WuC"/> | ||
| 6194 | + </connections> | ||
| 6195 | + </button> | ||
| 6196 | + </subviews> | ||
| 6197 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
| 6198 | + <constraints> | ||
| 6199 | + <constraint firstItem="Ly9-LO-Xmv" firstAttribute="top" secondItem="1to-ht-Vk8" secondAttribute="bottom" constant="17" id="8nE-IM-1jS"/> | ||
| 6200 | + <constraint firstAttribute="trailing" secondItem="1to-ht-Vk8" secondAttribute="trailing" constant="24" id="8nH-dw-rXK"/> | ||
| 6201 | + <constraint firstAttribute="trailing" secondItem="rCv-5F-ecY" secondAttribute="trailing" constant="24" id="AEH-FO-xUb"/> | ||
| 6202 | + <constraint firstAttribute="trailing" secondItem="Ly9-LO-Xmv" secondAttribute="trailing" constant="24" id="BV0-uq-SHR"/> | ||
| 6203 | + <constraint firstItem="1to-ht-Vk8" firstAttribute="top" secondItem="ehx-JG-A7m" secondAttribute="top" constant="30" id="DzL-bD-6Pq"/> | ||
| 6204 | + <constraint firstAttribute="bottom" secondItem="rCv-5F-ecY" secondAttribute="bottom" constant="18" id="frf-D2-GXY"/> | ||
| 6205 | + <constraint firstItem="rCv-5F-ecY" firstAttribute="top" secondItem="Ly9-LO-Xmv" secondAttribute="bottom" constant="20" id="pRj-95-8YL"/> | ||
| 6206 | + <constraint firstItem="Ly9-LO-Xmv" firstAttribute="leading" secondItem="ehx-JG-A7m" secondAttribute="leading" constant="24" id="piV-wD-l5m"/> | ||
| 6207 | + <constraint firstItem="1to-ht-Vk8" firstAttribute="leading" secondItem="ehx-JG-A7m" secondAttribute="leading" constant="24" id="zjd-7A-WvN"/> | ||
| 6208 | + </constraints> | ||
| 6209 | + </view> | ||
| 6210 | + </subviews> | ||
| 6211 | + <viewLayoutGuide key="safeArea" id="Uda-xn-kJz"/> | ||
| 6212 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
| 6213 | + <constraints> | ||
| 6214 | + <constraint firstItem="ehx-JG-A7m" firstAttribute="leading" secondItem="iDh-Ie-Yrc" secondAttribute="leadingMargin" constant="16" id="E19-z8-RLQ"/> | ||
| 6215 | + <constraint firstItem="ehx-JG-A7m" firstAttribute="top" secondItem="Uda-xn-kJz" secondAttribute="top" constant="5" id="KI7-KQ-Wr1"/> | ||
| 6216 | + <constraint firstAttribute="trailingMargin" secondItem="ehx-JG-A7m" secondAttribute="trailing" constant="16" id="Tk9-CM-6Us"/> | ||
| 6217 | + </constraints> | ||
| 6218 | + </view> | ||
| 6219 | + <connections> | ||
| 6220 | + <outlet property="headerCloseButton" destination="M8y-6I-J6x" id="196-sa-QAW"/> | ||
| 6221 | + <outlet property="headerLabel" destination="JEh-zR-MnJ" id="uqR-Sm-raV"/> | ||
| 6222 | + <outlet property="infoLabel" destination="Ly9-LO-Xmv" id="KzH-DA-Res"/> | ||
| 6223 | + <outlet property="popupView" destination="ehx-JG-A7m" id="dTI-Y2-V90"/> | ||
| 6224 | + <outlet property="submitButton" destination="rCv-5F-ecY" id="Bdl-Ka-lJV"/> | ||
| 6225 | + </connections> | ||
| 6226 | + </viewController> | ||
| 6227 | + <placeholder placeholderIdentifier="IBFirstResponder" id="CdO-uj-yKZ" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | ||
| 6228 | + </objects> | ||
| 6229 | + <point key="canvasLocation" x="4654" y="-555"/> | ||
| 6230 | + </scene> | ||
| 6134 | <!--Coupon View Controller--> | 6231 | <!--Coupon View Controller--> |
| 6135 | <scene sceneID="yGm-Im-aAN"> | 6232 | <scene sceneID="yGm-Im-aAN"> |
| 6136 | <objects> | 6233 | <objects> | ... | ... |
| 1 | +// | ||
| 2 | +// PopupInfoViewController.swift | ||
| 3 | +// SwiftWarplyFramework | ||
| 4 | +// | ||
| 5 | +// Created by Manos Chorianopoulos on 16/10/24. | ||
| 6 | +// | ||
| 7 | + | ||
| 8 | +import UIKit | ||
| 9 | + | ||
| 10 | +class PopupInfoViewController: UIViewController { | ||
| 11 | + @IBOutlet weak var popupView: UIView! | ||
| 12 | + @IBOutlet weak var headerLabel: UILabel! | ||
| 13 | + @IBOutlet weak var headerCloseButton: UIButton! | ||
| 14 | + @IBOutlet weak var infoLabel: UILabel! | ||
| 15 | + @IBOutlet weak var submitButton: UIButton! | ||
| 16 | + | ||
| 17 | + override func viewDidLoad() { | ||
| 18 | + super.viewDidLoad() | ||
| 19 | + | ||
| 20 | + // Add arrow programmatically | ||
| 21 | + let arrowSize = CGSize(width: 30, height: 15) // Width and height of the arrow | ||
| 22 | + let arrowView = ArrowView(frame: CGRect(x: (self.view.frame.width - arrowSize.width) / 2, | ||
| 23 | + y: popupView.frame.minY - arrowSize.height, | ||
| 24 | + width: arrowSize.width, | ||
| 25 | + height: arrowSize.height)) | ||
| 26 | + | ||
| 27 | + self.view.addSubview(arrowView) | ||
| 28 | + self.view.bringSubviewToFront(popupView) | ||
| 29 | + | ||
| 30 | + popupView.backgroundColor = UIColor(rgb: 0xE6E6E6) | ||
| 31 | + popupView.layer.cornerRadius = 14 | ||
| 32 | + // Add shadow | ||
| 33 | + popupView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.57).cgColor | ||
| 34 | + popupView.layer.shadowOffset = CGSize(width: 0.0, height: 3.0) | ||
| 35 | + popupView.layer.shadowOpacity = 1.0 | ||
| 36 | + popupView.layer.shadowRadius = 20.0 | ||
| 37 | + | ||
| 38 | + headerLabel.font = UIFont(name: "BTCosmo-Bold", size: 17) | ||
| 39 | + headerLabel.textColor = UIColor(rgb: 0x212121) | ||
| 40 | + headerLabel.text = "SUPERMARKET DEALS" | ||
| 41 | + | ||
| 42 | + headerCloseButton.setImage(UIImage(named: "ic_close_3.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | ||
| 43 | + headerCloseButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | ||
| 44 | + | ||
| 45 | + infoLabel.font = UIFont(name: "PeridotPE-Regular", size: 16.0) | ||
| 46 | + infoLabel.textColor = UIColor(rgb: 0x212121) | ||
| 47 | + infoLabel.text = "Δημιούργησε το δικό σου ενιαίο κουπόνι προσφορών, και εξαργύρωσέ το στα supermarket της επιλογής σου γρήγορα και εύκολα με ένα μόνο κωδικό κουπονιού!" | ||
| 48 | + | ||
| 49 | + submitButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 14) | ||
| 50 | + submitButton.setTitle("Τέλος", for: .normal) | ||
| 51 | + submitButton.setTitleColor(UIColor(rgb: 0x212121), for: .normal) | ||
| 52 | + submitButton.frame.size.width = submitButton.intrinsicContentSize.width | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle { | ||
| 56 | + return UIModalPresentationStyle.none | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection: UITraitCollection) -> UIModalPresentationStyle { | ||
| 60 | + // return UIModalPresentationStyle.FullScreen | ||
| 61 | + return UIModalPresentationStyle.none | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + // MARK: - Actions | ||
| 65 | + @IBAction func headerCloseButtonAction(_ sender: Any) { | ||
| 66 | + self.dismiss(animated: true, completion: {}) | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + @IBAction func submitButtonAction(_ sender: Any) { | ||
| 70 | + self.dismiss(animated: true, completion: {}) | ||
| 71 | + } | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | +class ArrowView: UIView { | ||
| 75 | + | ||
| 76 | + override init(frame: CGRect) { | ||
| 77 | + super.init(frame: frame) | ||
| 78 | + self.backgroundColor = .clear | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + required init?(coder: NSCoder) { | ||
| 82 | + super.init(coder: coder) | ||
| 83 | + self.backgroundColor = .clear | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + override func draw(_ rect: CGRect) { | ||
| 87 | + // Set up the context | ||
| 88 | + guard let context = UIGraphicsGetCurrentContext() else { return } | ||
| 89 | + | ||
| 90 | + // Set the arrow color (can adjust as needed) | ||
| 91 | + context.setFillColor(UIColor(rgb: 0xE6E6E6).cgColor) | ||
| 92 | + | ||
| 93 | + // Create the arrow's path (a triangle) | ||
| 94 | + let path = UIBezierPath() | ||
| 95 | + path.move(to: CGPoint(x: rect.width / 2, y: 0)) // Arrow top | ||
| 96 | + path.addLine(to: CGPoint(x: rect.width, y: rect.height)) // Bottom right | ||
| 97 | + path.addLine(to: CGPoint(x: 0, y: rect.height)) // Bottom left | ||
| 98 | + path.close() // Close the triangle | ||
| 99 | + | ||
| 100 | + // Fill the arrow shape | ||
| 101 | + context.addPath(path.cgPath) | ||
| 102 | + context.fillPath() | ||
| 103 | + } | ||
| 104 | +} |
| ... | @@ -71,6 +71,11 @@ import SwiftEventBus | ... | @@ -71,6 +71,11 @@ import SwiftEventBus |
| 71 | 71 | ||
| 72 | setBackButton() | 72 | setBackButton() |
| 73 | setNavigationTitle("SUPERMARKET DEALS") | 73 | setNavigationTitle("SUPERMARKET DEALS") |
| 74 | + // Setup the info button with an action | ||
| 75 | + setNavBarRightInfoButton() { | ||
| 76 | + // This closure is the action that will be executed when the info button is tapped | ||
| 77 | + self.presentInfoPopup() | ||
| 78 | + } | ||
| 74 | 79 | ||
| 75 | // backgroundImage.image = UIImage(named: "coupons_scrollview_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 80 | // backgroundImage.image = UIImage(named: "coupons_scrollview_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
| 76 | 81 | ||
| ... | @@ -175,6 +180,14 @@ import SwiftEventBus | ... | @@ -175,6 +180,14 @@ import SwiftEventBus |
| 175 | handleSubmitButtonUI() | 180 | handleSubmitButtonUI() |
| 176 | } | 181 | } |
| 177 | 182 | ||
| 183 | + private func presentInfoPopup() { | ||
| 184 | + let storyboard = UIStoryboard(name: "Main", bundle: nil) | ||
| 185 | + if let popupVC = storyboard.instantiateViewController(withIdentifier: "PopupInfoViewController") as? PopupInfoViewController { | ||
| 186 | + popupVC.modalPresentationStyle = .overCurrentContext | ||
| 187 | + popupVC.modalTransitionStyle = .crossDissolve | ||
| 188 | + self.present(popupVC, animated: true, completion: nil) | ||
| 189 | + } | ||
| 190 | + } | ||
| 178 | 191 | ||
| 179 | func handleSubmitButtonUI() { | 192 | func handleSubmitButtonUI() { |
| 180 | if (self.smCouponsSelected.count > 0) { | 193 | if (self.smCouponsSelected.count > 0) { | ... | ... |
| ... | @@ -93,6 +93,53 @@ extension UIViewController { | ... | @@ -93,6 +93,53 @@ extension UIViewController { |
| 93 | // self.dismiss(animated: true, completion: {}) | 93 | // self.dismiss(animated: true, completion: {}) |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | + // Define a typealias for the action closure | ||
| 97 | + typealias InfoButtonAction = () -> Void | ||
| 98 | + | ||
| 99 | + // Store the action closure | ||
| 100 | + private struct AssociatedKeys { | ||
| 101 | + static var infoButtonAction = "infoButtonAction" | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + var infoButtonAction: InfoButtonAction? { | ||
| 105 | + get { | ||
| 106 | + return objc_getAssociatedObject(self, &AssociatedKeys.infoButtonAction) as? InfoButtonAction | ||
| 107 | + } | ||
| 108 | + set { | ||
| 109 | + objc_setAssociatedObject(self, &AssociatedKeys.infoButtonAction, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) | ||
| 110 | + } | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + func setNavBarRightInfoButton(action: @escaping InfoButtonAction) { | ||
| 114 | + // Create a UIView for the custom info button | ||
| 115 | + let customInfoView = UIView(frame: CGRect(x: 0, y: 0, width: 24, height: 24)) | ||
| 116 | + | ||
| 117 | + // Create the UIImageView for the custom info image | ||
| 118 | + let infoImageView = UIImageView(image: UIImage(named: "info_icon", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)) // Your custom image | ||
| 119 | + infoImageView.contentMode = .scaleAspectFit // Adjust to fit the image correctly | ||
| 120 | + infoImageView.frame = customInfoView.bounds // Set the image to fill the view | ||
| 121 | + | ||
| 122 | + // Add the image view to the custom view | ||
| 123 | + customInfoView.addSubview(infoImageView) | ||
| 124 | + | ||
| 125 | + // Set the action closure | ||
| 126 | + self.infoButtonAction = action | ||
| 127 | + | ||
| 128 | + // Add a tap gesture recognizer to handle the tap on the custom view | ||
| 129 | + let tapGesture = UITapGestureRecognizer(target: self, action: #selector(infoButtonTapped)) | ||
| 130 | + customInfoView.addGestureRecognizer(tapGesture) | ||
| 131 | + | ||
| 132 | + // Add the custom view to the navigation bar as a UIBarButtonItem | ||
| 133 | + let infoBarButtonItem = UIBarButtonItem(customView: customInfoView) | ||
| 134 | + self.navigationItem.rightBarButtonItem = infoBarButtonItem | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + // Action for the info button tap | ||
| 138 | + @objc private func infoButtonTapped() { | ||
| 139 | + // Call the action closure if it's set | ||
| 140 | + infoButtonAction?() | ||
| 141 | + } | ||
| 142 | + | ||
| 96 | func addNavShadow() { | 143 | func addNavShadow() { |
| 97 | // Add shadow | 144 | // Add shadow |
| 98 | self.navigationController?.navigationBar.layer.masksToBounds = false | 145 | self.navigationController?.navigationBar.layer.masksToBounds = false | ... | ... |
-
Please register or login to post a comment