Showing
5 changed files
with
250 additions
and
12 deletions
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>1</integer> | 10 | + <integer>0</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>0</integer> | 10 | + <integer>1</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
... | @@ -431,14 +431,178 @@ | ... | @@ -431,14 +431,178 @@ |
431 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PM6-rY-jUG" userLabel="Main View"> | 431 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PM6-rY-jUG" userLabel="Main View"> |
432 | <rect key="frame" x="0.0" y="48" width="414" height="848"/> | 432 | <rect key="frame" x="0.0" y="48" width="414" height="848"/> |
433 | <subviews> | 433 | <subviews> |
434 | - <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UCU-ph-eyA"> | 434 | + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UCU-ph-eyA"> |
435 | - <rect key="frame" x="0.0" y="5" width="414" height="847"/> | 435 | + <rect key="frame" x="0.0" y="0.0" width="414" height="848"/> |
436 | <subviews> | 436 | <subviews> |
437 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4cB-Mm-sjZ"> | 437 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4cB-Mm-sjZ" userLabel="ScrollContentView"> |
438 | - <rect key="frame" x="0.0" y="0.0" width="414" height="852"/> | 438 | + <rect key="frame" x="0.0" y="0.0" width="414" height="917.5"/> |
439 | - <color key="backgroundColor" systemColor="systemBackgroundColor"/> | 439 | + <subviews> |
440 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Q7G-bb-pvF"> | ||
441 | + <rect key="frame" x="82" y="15" width="250" height="230"/> | ||
442 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
443 | + <constraints> | ||
444 | + <constraint firstAttribute="height" constant="230" id="ATX-dB-Mmf"/> | ||
445 | + <constraint firstAttribute="width" constant="250" id="KvI-sH-2bY"/> | ||
446 | + </constraints> | ||
447 | + </imageView> | ||
448 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Πως λειτουργεί:" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pi8-if-AND"> | ||
449 | + <rect key="frame" x="33" y="252" width="348" height="28"/> | ||
450 | + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="24"/> | ||
451 | + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | ||
452 | + <nil key="highlightedColor"/> | ||
453 | + </label> | ||
454 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RQ6-Ao-ZSE" userLabel="StoreInfoView"> | ||
455 | + <rect key="frame" x="33" y="314" width="361" height="136"/> | ||
456 | + <subviews> | ||
457 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cdX-tv-BAt"> | ||
458 | + <rect key="frame" x="5" y="0.0" width="41" height="41"/> | ||
459 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
460 | + <constraints> | ||
461 | + <constraint firstAttribute="height" constant="41" id="E3l-ov-D8c"/> | ||
462 | + <constraint firstAttribute="width" constant="41" id="w1Y-W3-Wxp"/> | ||
463 | + </constraints> | ||
464 | + </imageView> | ||
465 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Εξαργύρωση σε φυσικά καταστήματα" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="N0n-0q-Ggu"> | ||
466 | + <rect key="frame" x="56" y="0.0" width="305" height="44"/> | ||
467 | + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> | ||
468 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
469 | + <nil key="highlightedColor"/> | ||
470 | + </label> | ||
471 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Σκάναρε το barcode από το κινητό σου στο ταμείο του καταστήματος και κέρδισε απευθείας έκπτωση από τα διαθέσιμα κουπόνια." lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LaN-sW-jUd"> | ||
472 | + <rect key="frame" x="56" y="52" width="305" height="84"/> | ||
473 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/> | ||
474 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
475 | + <nil key="highlightedColor"/> | ||
476 | + </label> | ||
477 | + </subviews> | ||
478 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
479 | + <constraints> | ||
480 | + <constraint firstAttribute="trailing" secondItem="LaN-sW-jUd" secondAttribute="trailing" id="3xY-2L-5RO"/> | ||
481 | + <constraint firstAttribute="bottom" secondItem="LaN-sW-jUd" secondAttribute="bottom" id="4iC-UV-0Dd"/> | ||
482 | + <constraint firstItem="cdX-tv-BAt" firstAttribute="leading" secondItem="RQ6-Ao-ZSE" secondAttribute="leading" constant="5" id="5au-m8-Jr8"/> | ||
483 | + <constraint firstItem="N0n-0q-Ggu" firstAttribute="top" secondItem="RQ6-Ao-ZSE" secondAttribute="top" id="Kzn-8o-AzG"/> | ||
484 | + <constraint firstItem="LaN-sW-jUd" firstAttribute="leading" secondItem="N0n-0q-Ggu" secondAttribute="leading" id="NkT-z8-bWT"/> | ||
485 | + <constraint firstAttribute="trailing" secondItem="N0n-0q-Ggu" secondAttribute="trailing" id="PoH-Kf-0D3"/> | ||
486 | + <constraint firstItem="LaN-sW-jUd" firstAttribute="top" secondItem="N0n-0q-Ggu" secondAttribute="bottom" constant="8" id="W5Z-4n-N9b"/> | ||
487 | + <constraint firstItem="cdX-tv-BAt" firstAttribute="top" secondItem="RQ6-Ao-ZSE" secondAttribute="top" id="Xhf-nz-sCk"/> | ||
488 | + <constraint firstItem="N0n-0q-Ggu" firstAttribute="leading" secondItem="cdX-tv-BAt" secondAttribute="trailing" constant="10" id="as1-C0-fL0"/> | ||
489 | + </constraints> | ||
490 | + </view> | ||
491 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YMb-aS-khb" userLabel="EshopInfoView"> | ||
492 | + <rect key="frame" x="33" y="479" width="361" height="114"/> | ||
493 | + <subviews> | ||
494 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gpt-rt-Tct"> | ||
495 | + <rect key="frame" x="5" y="0.0" width="41" height="41"/> | ||
496 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
497 | + <constraints> | ||
498 | + <constraint firstAttribute="width" constant="41" id="EkO-Zt-tMp"/> | ||
499 | + <constraint firstAttribute="height" constant="41" id="hfw-IQ-6xV"/> | ||
500 | + </constraints> | ||
501 | + </imageView> | ||
502 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Εξαργύρωση στο eshop" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lp0-oA-b26"> | ||
503 | + <rect key="frame" x="56" y="0.0" width="305" height="22"/> | ||
504 | + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> | ||
505 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
506 | + <nil key="highlightedColor"/> | ||
507 | + </label> | ||
508 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="noY-rD-W8x"> | ||
509 | + <rect key="frame" x="56" y="30" width="305" height="84"/> | ||
510 | + <string key="text">Πληκτρολόγησε τον κωδικό σου στο αντίστοιχο πεδίο κατά το checkout στο eshop και κέρδισε απευθείας έκπτωση από τα διαθέσιμα κουπόνια.</string> | ||
511 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/> | ||
512 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
513 | + <nil key="highlightedColor"/> | ||
514 | + </label> | ||
515 | + </subviews> | ||
516 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
517 | + <constraints> | ||
518 | + <constraint firstAttribute="bottom" secondItem="noY-rD-W8x" secondAttribute="bottom" id="1Z0-Zt-Xr7"/> | ||
519 | + <constraint firstItem="lp0-oA-b26" firstAttribute="top" secondItem="YMb-aS-khb" secondAttribute="top" id="2g8-Fy-hT2"/> | ||
520 | + <constraint firstAttribute="trailing" secondItem="lp0-oA-b26" secondAttribute="trailing" id="6Wp-v3-7ce"/> | ||
521 | + <constraint firstAttribute="trailing" secondItem="noY-rD-W8x" secondAttribute="trailing" id="9kT-gG-Oel"/> | ||
522 | + <constraint firstItem="lp0-oA-b26" firstAttribute="leading" secondItem="gpt-rt-Tct" secondAttribute="trailing" constant="10" id="b29-iU-u3x"/> | ||
523 | + <constraint firstItem="noY-rD-W8x" firstAttribute="leading" secondItem="lp0-oA-b26" secondAttribute="leading" id="dTb-eN-sme"/> | ||
524 | + <constraint firstItem="gpt-rt-Tct" firstAttribute="leading" secondItem="YMb-aS-khb" secondAttribute="leading" constant="5" id="gP4-q4-GQD"/> | ||
525 | + <constraint firstItem="noY-rD-W8x" firstAttribute="top" secondItem="lp0-oA-b26" secondAttribute="bottom" constant="8" id="zHv-J3-fBD"/> | ||
526 | + <constraint firstItem="gpt-rt-Tct" firstAttribute="top" secondItem="YMb-aS-khb" secondAttribute="top" id="zW3-So-BMx"/> | ||
527 | + </constraints> | ||
440 | </view> | 528 | </view> |
529 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BkT-Kn-CNF" userLabel="ABInfoView"> | ||
530 | + <rect key="frame" x="33" y="622" width="361" height="197.5"/> | ||
531 | + <subviews> | ||
532 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="TSK-M9-ex7"> | ||
533 | + <rect key="frame" x="5" y="0.0" width="41" height="41"/> | ||
534 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
535 | + <constraints> | ||
536 | + <constraint firstAttribute="height" constant="41" id="LNm-0D-eOE"/> | ||
537 | + <constraint firstAttribute="width" constant="41" id="TH5-U9-4FR"/> | ||
538 | + </constraints> | ||
539 | + </imageView> | ||
540 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ειδικά για τον ΑΒ" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ijJ-gv-FcQ"> | ||
541 | + <rect key="frame" x="56" y="0.0" width="305" height="22"/> | ||
542 | + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> | ||
543 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
544 | + <nil key="highlightedColor"/> | ||
545 | + </label> | ||
546 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="es4-6W-eQC"> | ||
547 | + <rect key="frame" x="56" y="30" width="305" height="167.5"/> | ||
548 | + <string key="text">1. Eνεργοποίησε τον κωδικό στην κάρτα ΑΒ PLUS στο kiosk του καταστήματος ή μέσω eshop / app στην ενοτητα στην ενότητα Συνεργασίες – SUPERMARKET DEALS. 2. Κάνε τις αγορές σου και κέρδισε απευθείας έκπτωση με χρήση της AB PLUS από τα διαθέσιμα κουπόνια.</string> | ||
549 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/> | ||
550 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
551 | + <nil key="highlightedColor"/> | ||
552 | + </label> | ||
441 | </subviews> | 553 | </subviews> |
554 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
555 | + <constraints> | ||
556 | + <constraint firstItem="TSK-M9-ex7" firstAttribute="leading" secondItem="BkT-Kn-CNF" secondAttribute="leading" constant="5" id="5w5-1k-VAh"/> | ||
557 | + <constraint firstItem="es4-6W-eQC" firstAttribute="top" secondItem="ijJ-gv-FcQ" secondAttribute="bottom" constant="8" id="9C4-PY-61D"/> | ||
558 | + <constraint firstAttribute="trailing" secondItem="es4-6W-eQC" secondAttribute="trailing" id="D0x-yp-Adf"/> | ||
559 | + <constraint firstItem="es4-6W-eQC" firstAttribute="leading" secondItem="ijJ-gv-FcQ" secondAttribute="leading" id="EHB-7M-eDG"/> | ||
560 | + <constraint firstItem="ijJ-gv-FcQ" firstAttribute="leading" secondItem="TSK-M9-ex7" secondAttribute="trailing" constant="10" id="bCO-ZL-trK"/> | ||
561 | + <constraint firstAttribute="bottom" secondItem="es4-6W-eQC" secondAttribute="bottom" id="bzS-ea-I2C"/> | ||
562 | + <constraint firstAttribute="trailing" secondItem="ijJ-gv-FcQ" secondAttribute="trailing" id="esN-Kx-YXs"/> | ||
563 | + <constraint firstItem="ijJ-gv-FcQ" firstAttribute="top" secondItem="BkT-Kn-CNF" secondAttribute="top" id="eur-9F-zPA"/> | ||
564 | + <constraint firstItem="TSK-M9-ex7" firstAttribute="top" secondItem="BkT-Kn-CNF" secondAttribute="top" id="zMw-kS-fVe"/> | ||
565 | + </constraints> | ||
566 | + </view> | ||
567 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="E3U-j8-3p0"> | ||
568 | + <rect key="frame" x="29" y="852.5" width="356" height="55"/> | ||
569 | + <constraints> | ||
570 | + <constraint firstAttribute="height" constant="55" id="AD0-86-4Rz"/> | ||
571 | + </constraints> | ||
572 | + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/> | ||
573 | + <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> | ||
574 | + <state key="normal" title="Επιστροφή στο Supermarket Deals"> | ||
575 | + <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
576 | + </state> | ||
577 | + <connections> | ||
578 | + <action selector="okButtonAction:" destination="EI4-od-P1G" eventType="touchUpInside" id="P6p-42-EsX"/> | ||
579 | + </connections> | ||
580 | + </button> | ||
581 | + </subviews> | ||
582 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
583 | + <constraints> | ||
584 | + <constraint firstAttribute="trailing" secondItem="BkT-Kn-CNF" secondAttribute="trailing" constant="20" id="52Y-1Z-3WY"/> | ||
585 | + <constraint firstItem="Pi8-if-AND" firstAttribute="top" secondItem="Q7G-bb-pvF" secondAttribute="bottom" constant="7" id="5Xv-Ue-QZt"/> | ||
586 | + <constraint firstAttribute="bottom" secondItem="E3U-j8-3p0" secondAttribute="bottom" constant="10" id="5bD-eU-U2U"/> | ||
587 | + <constraint firstItem="Q7G-bb-pvF" firstAttribute="centerX" secondItem="4cB-Mm-sjZ" secondAttribute="centerX" id="8Ma-vh-1WF"/> | ||
588 | + <constraint firstItem="E3U-j8-3p0" firstAttribute="leading" secondItem="4cB-Mm-sjZ" secondAttribute="leading" constant="29" id="F4v-ZX-h04"/> | ||
589 | + <constraint firstItem="YMb-aS-khb" firstAttribute="top" secondItem="RQ6-Ao-ZSE" secondAttribute="bottom" constant="29" id="MQV-Wz-mKJ"/> | ||
590 | + <constraint firstAttribute="trailing" secondItem="Pi8-if-AND" secondAttribute="trailing" constant="33" id="Nkf-1N-yXM"/> | ||
591 | + <constraint firstAttribute="trailing" secondItem="RQ6-Ao-ZSE" secondAttribute="trailing" constant="20" id="Ura-7W-bHW"/> | ||
592 | + <constraint firstItem="RQ6-Ao-ZSE" firstAttribute="top" secondItem="Pi8-if-AND" secondAttribute="bottom" constant="34" id="VEQ-wH-agZ"/> | ||
593 | + <constraint firstItem="BkT-Kn-CNF" firstAttribute="top" secondItem="YMb-aS-khb" secondAttribute="bottom" constant="29" id="cq1-3M-wY3"/> | ||
594 | + <constraint firstItem="E3U-j8-3p0" firstAttribute="top" secondItem="BkT-Kn-CNF" secondAttribute="bottom" constant="33" id="dsu-I3-Jdg"/> | ||
595 | + <constraint firstItem="Pi8-if-AND" firstAttribute="leading" secondItem="4cB-Mm-sjZ" secondAttribute="leading" constant="33" id="ghq-zb-Jc6"/> | ||
596 | + <constraint firstItem="Q7G-bb-pvF" firstAttribute="top" secondItem="4cB-Mm-sjZ" secondAttribute="top" constant="15" id="iF9-DB-GQ7"/> | ||
597 | + <constraint firstItem="YMb-aS-khb" firstAttribute="leading" secondItem="4cB-Mm-sjZ" secondAttribute="leading" constant="33" id="nac-YS-9nd"/> | ||
598 | + <constraint firstItem="RQ6-Ao-ZSE" firstAttribute="leading" secondItem="4cB-Mm-sjZ" secondAttribute="leading" constant="33" id="ndc-fy-Aqm"/> | ||
599 | + <constraint firstAttribute="trailing" secondItem="YMb-aS-khb" secondAttribute="trailing" constant="20" id="oGG-f6-0iU"/> | ||
600 | + <constraint firstAttribute="trailing" secondItem="E3U-j8-3p0" secondAttribute="trailing" constant="29" id="pUp-ho-wVr"/> | ||
601 | + <constraint firstItem="BkT-Kn-CNF" firstAttribute="leading" secondItem="4cB-Mm-sjZ" secondAttribute="leading" constant="33" id="tNV-PG-kCR"/> | ||
602 | + </constraints> | ||
603 | + </view> | ||
604 | + </subviews> | ||
605 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
442 | <constraints> | 606 | <constraints> |
443 | <constraint firstItem="4cB-Mm-sjZ" firstAttribute="leading" secondItem="SgM-XP-owJ" secondAttribute="leading" id="2LA-0S-yA1"/> | 607 | <constraint firstItem="4cB-Mm-sjZ" firstAttribute="leading" secondItem="SgM-XP-owJ" secondAttribute="leading" id="2LA-0S-yA1"/> |
444 | <constraint firstItem="4cB-Mm-sjZ" firstAttribute="width" secondItem="PNS-bi-XkN" secondAttribute="width" id="G1q-t4-3zx"/> | 608 | <constraint firstItem="4cB-Mm-sjZ" firstAttribute="width" secondItem="PNS-bi-XkN" secondAttribute="width" id="G1q-t4-3zx"/> |
... | @@ -469,6 +633,20 @@ | ... | @@ -469,6 +633,20 @@ |
469 | <constraint firstItem="PM6-rY-jUG" firstAttribute="leading" secondItem="WQJ-iu-Ewa" secondAttribute="leading" id="Yic-jP-InD"/> | 633 | <constraint firstItem="PM6-rY-jUG" firstAttribute="leading" secondItem="WQJ-iu-Ewa" secondAttribute="leading" id="Yic-jP-InD"/> |
470 | </constraints> | 634 | </constraints> |
471 | </view> | 635 | </view> |
636 | + <connections> | ||
637 | + <outlet property="abInfoImage" destination="TSK-M9-ex7" id="18U-VS-vff"/> | ||
638 | + <outlet property="abInfoSubtitleLabel" destination="es4-6W-eQC" id="mkN-L7-bJU"/> | ||
639 | + <outlet property="abInfoTitleLabel" destination="ijJ-gv-FcQ" id="tTh-sb-WSi"/> | ||
640 | + <outlet property="eshopInfoImage" destination="gpt-rt-Tct" id="FlU-TD-mGn"/> | ||
641 | + <outlet property="eshopInfoSubtitleLabel" destination="noY-rD-W8x" id="SoD-TB-uft"/> | ||
642 | + <outlet property="eshopInfoTitleLabel" destination="lp0-oA-b26" id="QYA-0R-QHY"/> | ||
643 | + <outlet property="heroImage" destination="Q7G-bb-pvF" id="90F-4L-Q5j"/> | ||
644 | + <outlet property="heroTitleLabel" destination="Pi8-if-AND" id="2j9-qH-nyZ"/> | ||
645 | + <outlet property="okButton" destination="E3U-j8-3p0" id="zK4-8K-cDb"/> | ||
646 | + <outlet property="storeInfoImage" destination="cdX-tv-BAt" id="D0f-vV-cVT"/> | ||
647 | + <outlet property="storeInfoSubtitleLabel" destination="LaN-sW-jUd" id="30N-8d-9hc"/> | ||
648 | + <outlet property="storeInfoTitleLabel" destination="N0n-0q-Ggu" id="DeO-A5-ct1"/> | ||
649 | + </connections> | ||
472 | </viewController> | 650 | </viewController> |
473 | <placeholder placeholderIdentifier="IBFirstResponder" id="6H9-ei-XKJ" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | 651 | <placeholder placeholderIdentifier="IBFirstResponder" id="6H9-ei-XKJ" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> |
474 | </objects> | 652 | </objects> | ... | ... |
... | @@ -8,6 +8,18 @@ | ... | @@ -8,6 +8,18 @@ |
8 | import UIKit | 8 | import UIKit |
9 | 9 | ||
10 | @objc public class MarketPassInfoViewController: UIViewController { | 10 | @objc public class MarketPassInfoViewController: UIViewController { |
11 | + @IBOutlet weak var heroImage: UIImageView! | ||
12 | + @IBOutlet weak var heroTitleLabel: UILabel! | ||
13 | + @IBOutlet weak var storeInfoImage: UIImageView! | ||
14 | + @IBOutlet weak var storeInfoTitleLabel: UILabel! | ||
15 | + @IBOutlet weak var storeInfoSubtitleLabel: UILabel! | ||
16 | + @IBOutlet weak var eshopInfoImage: UIImageView! | ||
17 | + @IBOutlet weak var eshopInfoTitleLabel: UILabel! | ||
18 | + @IBOutlet weak var eshopInfoSubtitleLabel: UILabel! | ||
19 | + @IBOutlet weak var abInfoImage: UIImageView! | ||
20 | + @IBOutlet weak var abInfoTitleLabel: UILabel! | ||
21 | + @IBOutlet weak var abInfoSubtitleLabel: UILabel! | ||
22 | + @IBOutlet weak var okButton: UIButton! | ||
11 | 23 | ||
12 | public override func viewDidLoad() { | 24 | public override func viewDidLoad() { |
13 | super.viewDidLoad() | 25 | super.viewDidLoad() |
... | @@ -16,11 +28,8 @@ import UIKit | ... | @@ -16,11 +28,8 @@ import UIKit |
16 | 28 | ||
17 | setBackButton() | 29 | setBackButton() |
18 | setNavigationTitle("Οδηγίες χρήσης") | 30 | setNavigationTitle("Οδηγίες χρήσης") |
19 | - // Setup the info button with an action | 31 | + |
20 | - setNavBarRightInfoButton() { | 32 | + setupUI() |
21 | - // This closure is the action that will be executed when the info button is tapped | ||
22 | -// self.presentInfoPopup() | ||
23 | - } | ||
24 | } | 33 | } |
25 | 34 | ||
26 | public override func viewWillAppear(_ animated: Bool) { | 35 | public override func viewWillAppear(_ animated: Bool) { |
... | @@ -30,4 +39,55 @@ import UIKit | ... | @@ -30,4 +39,55 @@ import UIKit |
30 | 39 | ||
31 | self.navigationController?.hideHairline() | 40 | self.navigationController?.hideHairline() |
32 | } | 41 | } |
42 | + | ||
43 | + // MARK: - Functions | ||
44 | + func setupUI() { | ||
45 | + heroImage.image = UIImage(named: "pass_info_hero", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
46 | + storeInfoImage.image = UIImage(named: "pass_info_cart", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
47 | + eshopInfoImage.image = UIImage(named: "pass_info_globe", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
48 | + abInfoImage.image = UIImage(named: "pass_info_ab", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
49 | + | ||
50 | + heroTitleLabel.text = "Πως λειτουργεί:" | ||
51 | + heroTitleLabel.font = UIFont(name: "BTCosmo-Bold", size: 24) | ||
52 | + heroTitleLabel.textColor = UIColor(rgb: 0x212121) | ||
53 | + | ||
54 | + // StoreInfoView | ||
55 | + storeInfoTitleLabel.text = "Εξαργύρωση σε φυσικά καταστήματα" | ||
56 | + storeInfoTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 19.0) | ||
57 | + storeInfoTitleLabel.textColor = UIColor(rgb: 0x212121) | ||
58 | + | ||
59 | + storeInfoSubtitleLabel.text = "Σκάναρε το barcode από το κινητό σου στο ταμείο του καταστήματος και κέρδισε απευθείας έκπτωση από τα διαθέσιμα κουπόνια." | ||
60 | + storeInfoSubtitleLabel.font = UIFont(name: "PeridotPE-Regular", size: 17.0) | ||
61 | + storeInfoSubtitleLabel.textColor = UIColor(rgb: 0x212121) | ||
62 | + | ||
63 | + // EshopInfoView | ||
64 | + eshopInfoTitleLabel.text = "Εξαργύρωση στο eshop" | ||
65 | + eshopInfoTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 19.0) | ||
66 | + eshopInfoTitleLabel.textColor = UIColor(rgb: 0x212121) | ||
67 | + | ||
68 | + eshopInfoSubtitleLabel.text = "Πληκτρολόγησε τον κωδικό σου στο αντίστοιχο πεδίο κατά το checkout στο eshop και κέρδισε απευθείας έκπτωση από τα διαθέσιμα κουπόνια." | ||
69 | + eshopInfoSubtitleLabel.font = UIFont(name: "PeridotPE-Regular", size: 17.0) | ||
70 | + eshopInfoSubtitleLabel.textColor = UIColor(rgb: 0x212121) | ||
71 | + | ||
72 | + // ABInfoView | ||
73 | + abInfoTitleLabel.text = "Ειδικά για τον ΑΒ" | ||
74 | + abInfoTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 19.0) | ||
75 | + abInfoTitleLabel.textColor = UIColor(rgb: 0x212121) | ||
76 | + | ||
77 | + abInfoSubtitleLabel.text = "1. Eνεργοποίησε τον κωδικό στην κάρτα ΑΒ PLUS στο kiosk του καταστήματος ή μέσω eshop / app στην ενοτητα στην ενότητα Συνεργασίες – SUPERMARKET DEALS.\n\n2. Κάνε τις αγορές σου και κέρδισε απευθείας έκπτωση με χρήση της AB PLUS από τα διαθέσιμα κουπόνια." | ||
78 | + abInfoSubtitleLabel.font = UIFont(name: "PeridotPE-Regular", size: 17.0) | ||
79 | + abInfoSubtitleLabel.textColor = UIColor(rgb: 0x212121) | ||
80 | + | ||
81 | + // okButton | ||
82 | + okButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) | ||
83 | + okButton.setTitle("Επιστροφή στο Supermarket Deals", for: .normal) | ||
84 | + okButton.setTitleColor(.white, for: .normal) | ||
85 | + okButton.backgroundColor = UIColor(rgb: 0x0EA600) | ||
86 | + okButton.layer.cornerRadius = 10.0 | ||
87 | + } | ||
88 | + | ||
89 | + // MARK: - Actions | ||
90 | + @IBAction func okButtonAction(_ sender: Any) { | ||
91 | + self.navigationController?.popViewController(animated: true) | ||
92 | + } | ||
33 | } | 93 | } | ... | ... |
-
Please register or login to post a comment