Showing
5 changed files
with
90 additions
and
24 deletions
| ... | @@ -7,6 +7,7 @@ | ... | @@ -7,6 +7,7 @@ |
| 7 | objects = { | 7 | objects = { |
| 8 | 8 | ||
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | + 1E2966EA2837A21D00F83FAC /* RSBarcodes_Swift in Frameworks */ = {isa = PBXBuildFile; productRef = 1E2966E92837A21D00F83FAC /* RSBarcodes_Swift */; }; | ||
| 10 | 1E74838D28378AF40042A589 /* CouponBarcodeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E74838C28378AF40042A589 /* CouponBarcodeViewController.swift */; }; | 11 | 1E74838D28378AF40042A589 /* CouponBarcodeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E74838C28378AF40042A589 /* CouponBarcodeViewController.swift */; }; |
| 11 | 1EA1AF0A2835346A008998AA /* CouponsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA1AF092835346A008998AA /* CouponsTableViewCell.swift */; }; | 12 | 1EA1AF0A2835346A008998AA /* CouponsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EA1AF092835346A008998AA /* CouponsTableViewCell.swift */; }; |
| 12 | 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; }; | 13 | 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; }; |
| ... | @@ -278,6 +279,7 @@ | ... | @@ -278,6 +279,7 @@ |
| 278 | isa = PBXFrameworksBuildPhase; | 279 | isa = PBXFrameworksBuildPhase; |
| 279 | buildActionMask = 2147483647; | 280 | buildActionMask = 2147483647; |
| 280 | files = ( | 281 | files = ( |
| 282 | + 1E2966EA2837A21D00F83FAC /* RSBarcodes_Swift in Frameworks */, | ||
| 281 | 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */, | 283 | 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */, |
| 282 | ); | 284 | ); |
| 283 | runOnlyForDeploymentPostprocessing = 0; | 285 | runOnlyForDeploymentPostprocessing = 0; |
| ... | @@ -641,6 +643,9 @@ | ... | @@ -641,6 +643,9 @@ |
| 641 | dependencies = ( | 643 | dependencies = ( |
| 642 | ); | 644 | ); |
| 643 | name = SwiftWarplyFramework; | 645 | name = SwiftWarplyFramework; |
| 646 | + packageProductDependencies = ( | ||
| 647 | + 1E2966E92837A21D00F83FAC /* RSBarcodes_Swift */, | ||
| 648 | + ); | ||
| 644 | productName = SwiftWarplyFramework; | 649 | productName = SwiftWarplyFramework; |
| 645 | productReference = E6A7784E282933340045BBA8 /* SwiftWarplyFramework.framework */; | 650 | productReference = E6A7784E282933340045BBA8 /* SwiftWarplyFramework.framework */; |
| 646 | productType = "com.apple.product-type.framework"; | 651 | productType = "com.apple.product-type.framework"; |
| ... | @@ -669,6 +674,9 @@ | ... | @@ -669,6 +674,9 @@ |
| 669 | Base, | 674 | Base, |
| 670 | ); | 675 | ); |
| 671 | mainGroup = E6A77844282933340045BBA8; | 676 | mainGroup = E6A77844282933340045BBA8; |
| 677 | + packageReferences = ( | ||
| 678 | + 1E2966E82837A21D00F83FAC /* XCRemoteSwiftPackageReference "RSBarcodes_Swift" */, | ||
| 679 | + ); | ||
| 672 | productRefGroup = E6A7784F282933340045BBA8 /* Products */; | 680 | productRefGroup = E6A7784F282933340045BBA8 /* Products */; |
| 673 | projectDirPath = ""; | 681 | projectDirPath = ""; |
| 674 | projectRoot = ""; | 682 | projectRoot = ""; |
| ... | @@ -1011,6 +1019,25 @@ | ... | @@ -1011,6 +1019,25 @@ |
| 1011 | defaultConfigurationName = Release; | 1019 | defaultConfigurationName = Release; |
| 1012 | }; | 1020 | }; |
| 1013 | /* End XCConfigurationList section */ | 1021 | /* End XCConfigurationList section */ |
| 1022 | + | ||
| 1023 | +/* Begin XCRemoteSwiftPackageReference section */ | ||
| 1024 | + 1E2966E82837A21D00F83FAC /* XCRemoteSwiftPackageReference "RSBarcodes_Swift" */ = { | ||
| 1025 | + isa = XCRemoteSwiftPackageReference; | ||
| 1026 | + repositoryURL = "https://github.com/yeahdongcn/RSBarcodes_Swift"; | ||
| 1027 | + requirement = { | ||
| 1028 | + kind = upToNextMajorVersion; | ||
| 1029 | + minimumVersion = 5.0.0; | ||
| 1030 | + }; | ||
| 1031 | + }; | ||
| 1032 | +/* End XCRemoteSwiftPackageReference section */ | ||
| 1033 | + | ||
| 1034 | +/* Begin XCSwiftPackageProductDependency section */ | ||
| 1035 | + 1E2966E92837A21D00F83FAC /* RSBarcodes_Swift */ = { | ||
| 1036 | + isa = XCSwiftPackageProductDependency; | ||
| 1037 | + package = 1E2966E82837A21D00F83FAC /* XCRemoteSwiftPackageReference "RSBarcodes_Swift" */; | ||
| 1038 | + productName = RSBarcodes_Swift; | ||
| 1039 | + }; | ||
| 1040 | +/* End XCSwiftPackageProductDependency section */ | ||
| 1014 | }; | 1041 | }; |
| 1015 | rootObject = E6A77845282933340045BBA8 /* Project object */; | 1042 | rootObject = E6A77845282933340045BBA8 /* Project object */; |
| 1016 | } | 1043 | } | ... | ... |
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcshareddata/swiftpm/Package.resolved
0 → 100644
| 1 | +{ | ||
| 2 | + "object": { | ||
| 3 | + "pins": [ | ||
| 4 | + { | ||
| 5 | + "package": "RSBarcodes_Swift", | ||
| 6 | + "repositoryURL": "https://github.com/yeahdongcn/RSBarcodes_Swift", | ||
| 7 | + "state": { | ||
| 8 | + "branch": null, | ||
| 9 | + "revision": "86d8b1a1439e7edb19793d17732b15fd784a0a15", | ||
| 10 | + "version": "5.1.1" | ||
| 11 | + } | ||
| 12 | + } | ||
| 13 | + ] | ||
| 14 | + }, | ||
| 15 | + "version": 1 | ||
| 16 | +} |
No preview for this file type
| ... | @@ -7,6 +7,8 @@ | ... | @@ -7,6 +7,8 @@ |
| 7 | 7 | ||
| 8 | import UIKit | 8 | import UIKit |
| 9 | import WarplySDKFrameworkIOS | 9 | import WarplySDKFrameworkIOS |
| 10 | +import RSBarcodes_Swift | ||
| 11 | +import AVFoundation | ||
| 10 | 12 | ||
| 11 | @objc class CouponBarcodeViewController: UIViewController { | 13 | @objc class CouponBarcodeViewController: UIViewController { |
| 12 | @IBOutlet weak var backgroundImage: UIImageView! | 14 | @IBOutlet weak var backgroundImage: UIImageView! |
| ... | @@ -18,6 +20,8 @@ import WarplySDKFrameworkIOS | ... | @@ -18,6 +20,8 @@ import WarplySDKFrameworkIOS |
| 18 | @IBOutlet weak var discriptionLabel: UILabel! | 20 | @IBOutlet weak var discriptionLabel: UILabel! |
| 19 | @IBOutlet weak var couponView: UIView! | 21 | @IBOutlet weak var couponView: UIView! |
| 20 | @IBOutlet weak var couponNumberLabel: UILabel! | 22 | @IBOutlet weak var couponNumberLabel: UILabel! |
| 23 | + @IBOutlet weak var barcodeImage: UIImageView! | ||
| 24 | + @IBOutlet weak var barcodeImageHeight: NSLayoutConstraint! | ||
| 21 | @IBOutlet weak var barcodeLabel: UILabel! | 25 | @IBOutlet weak var barcodeLabel: UILabel! |
| 22 | @IBOutlet weak var expirationLabel: UILabel! | 26 | @IBOutlet weak var expirationLabel: UILabel! |
| 23 | @IBOutlet weak var redeemButton: UIButton! | 27 | @IBOutlet weak var redeemButton: UIButton! |
| ... | @@ -61,6 +65,14 @@ import WarplySDKFrameworkIOS | ... | @@ -61,6 +65,14 @@ import WarplySDKFrameworkIOS |
| 61 | 65 | ||
| 62 | let barcodeString = constructBarcode() ?? "" | 66 | let barcodeString = constructBarcode() ?? "" |
| 63 | barcodeLabel.text = barcodeString | 67 | barcodeLabel.text = barcodeString |
| 68 | + | ||
| 69 | + if let barcodeUIImage = RSUnifiedCodeGenerator.shared.generateCode(barcodeString, machineReadableCodeObjectType: AVMetadataObject.ObjectType.ean13.rawValue, targetSize: CGSize(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.1)) { | ||
| 70 | + barcodeImage.image = barcodeUIImage | ||
| 71 | + | ||
| 72 | + barcodeImageHeight.constant = self.uiscreen.height * 0.1 | ||
| 73 | + } else { | ||
| 74 | + barcodeImageHeight.constant = 0 | ||
| 75 | + } | ||
| 64 | 76 | ||
| 65 | expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "") | 77 | expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "") |
| 66 | 78 | ... | ... |
| ... | @@ -384,8 +384,33 @@ | ... | @@ -384,8 +384,33 @@ |
| 384 | <constraint firstAttribute="height" constant="1" id="eF3-7T-hMu"/> | 384 | <constraint firstAttribute="height" constant="1" id="eF3-7T-hMu"/> |
| 385 | </constraints> | 385 | </constraints> |
| 386 | </view> | 386 | </view> |
| 387 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="huh-zh-82C"> | ||
| 388 | + <rect key="frame" x="30" y="501.5" width="354" height="110"/> | ||
| 389 | + <constraints> | ||
| 390 | + <constraint firstAttribute="height" constant="110" id="LJq-uV-eb8"/> | ||
| 391 | + </constraints> | ||
| 392 | + </imageView> | ||
| 393 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EKv-Mx-6Yv"> | ||
| 394 | + <rect key="frame" x="20" y="621.5" width="374" height="26.5"/> | ||
| 395 | + <fontDescription key="fontDescription" type="system" pointSize="22"/> | ||
| 396 | + <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="0.84705882349999995" colorSpace="calibratedRGB"/> | ||
| 397 | + <nil key="highlightedColor"/> | ||
| 398 | + </label> | ||
| 399 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6rV-2m-QMZ" userLabel="Border 2 View"> | ||
| 400 | + <rect key="frame" x="20" y="663" width="374" height="1"/> | ||
| 401 | + <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | ||
| 402 | + <constraints> | ||
| 403 | + <constraint firstAttribute="height" constant="1" id="DVl-3B-zqo"/> | ||
| 404 | + </constraints> | ||
| 405 | + </view> | ||
| 406 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UhC-Lj-tfN"> | ||
| 407 | + <rect key="frame" x="20" y="699" width="374" height="17"/> | ||
| 408 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 409 | + <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="0.84705882349999995" colorSpace="calibratedRGB"/> | ||
| 410 | + <nil key="highlightedColor"/> | ||
| 411 | + </label> | ||
| 387 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8cR-Rc-YMJ"> | 412 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8cR-Rc-YMJ"> |
| 388 | - <rect key="frame" x="83" y="646" width="248" height="50"/> | 413 | + <rect key="frame" x="83" y="751" width="248" height="50"/> |
| 389 | <constraints> | 414 | <constraints> |
| 390 | <constraint firstAttribute="height" constant="50" id="ccg-NP-FIH"/> | 415 | <constraint firstAttribute="height" constant="50" id="ccg-NP-FIH"/> |
| 391 | </constraints> | 416 | </constraints> |
| ... | @@ -402,7 +427,7 @@ | ... | @@ -402,7 +427,7 @@ |
| 402 | </connections> | 427 | </connections> |
| 403 | </button> | 428 | </button> |
| 404 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8UD-WL-JB7"> | 429 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8UD-WL-JB7"> |
| 405 | - <rect key="frame" x="103.5" y="706" width="207" height="50"/> | 430 | + <rect key="frame" x="103.5" y="811" width="207" height="50"/> |
| 406 | <constraints> | 431 | <constraints> |
| 407 | <constraint firstAttribute="height" constant="50" id="xdq-YS-AL4"/> | 432 | <constraint firstAttribute="height" constant="50" id="xdq-YS-AL4"/> |
| 408 | </constraints> | 433 | </constraints> |
| ... | @@ -418,7 +443,7 @@ | ... | @@ -418,7 +443,7 @@ |
| 418 | </connections> | 443 | </connections> |
| 419 | </button> | 444 | </button> |
| 420 | <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xjX-HZ-MpD"> | 445 | <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xjX-HZ-MpD"> |
| 421 | - <rect key="frame" x="20" y="766" width="374" height="0.0"/> | 446 | + <rect key="frame" x="20" y="871" width="374" height="0.0"/> |
| 422 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> | 447 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> |
| 423 | <constraints> | 448 | <constraints> |
| 424 | <constraint firstAttribute="height" id="3GU-tg-S3t"/> | 449 | <constraint firstAttribute="height" id="3GU-tg-S3t"/> |
| ... | @@ -427,29 +452,11 @@ | ... | @@ -427,29 +452,11 @@ |
| 427 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 452 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
| 428 | <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> | 453 | <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> |
| 429 | </textView> | 454 | </textView> |
| 430 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EKv-Mx-6Yv"> | ||
| 431 | - <rect key="frame" x="20" y="511.5" width="374" height="26.5"/> | ||
| 432 | - <fontDescription key="fontDescription" type="system" pointSize="22"/> | ||
| 433 | - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="0.84705882349999995" colorSpace="calibratedRGB"/> | ||
| 434 | - <nil key="highlightedColor"/> | ||
| 435 | - </label> | ||
| 436 | - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6rV-2m-QMZ" userLabel="Border 2 View"> | ||
| 437 | - <rect key="frame" x="20" y="558" width="374" height="1"/> | ||
| 438 | - <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | ||
| 439 | - <constraints> | ||
| 440 | - <constraint firstAttribute="height" constant="1" id="DVl-3B-zqo"/> | ||
| 441 | - </constraints> | ||
| 442 | - </view> | ||
| 443 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UhC-Lj-tfN"> | ||
| 444 | - <rect key="frame" x="20" y="594" width="374" height="17"/> | ||
| 445 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
| 446 | - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="0.84705882349999995" colorSpace="calibratedRGB"/> | ||
| 447 | - <nil key="highlightedColor"/> | ||
| 448 | - </label> | ||
| 449 | </subviews> | 455 | </subviews> |
| 450 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> | 456 | <color key="backgroundColor" systemColor="systemBackgroundColor"/> |
| 451 | <constraints> | 457 | <constraints> |
| 452 | <constraint firstItem="jrM-7n-fSw" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="0Dc-gr-Zfa"/> | 458 | <constraint firstItem="jrM-7n-fSw" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="0Dc-gr-Zfa"/> |
| 459 | + <constraint firstItem="huh-zh-82C" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="30" id="1bc-Mr-krB"/> | ||
| 453 | <constraint firstAttribute="trailing" secondItem="Xz4-EE-EzJ" secondAttribute="trailing" constant="20" id="5Sx-lW-x5H"/> | 460 | <constraint firstAttribute="trailing" secondItem="Xz4-EE-EzJ" secondAttribute="trailing" constant="20" id="5Sx-lW-x5H"/> |
| 454 | <constraint firstItem="8cR-Rc-YMJ" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="8hP-dm-rWP"/> | 461 | <constraint firstItem="8cR-Rc-YMJ" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="8hP-dm-rWP"/> |
| 455 | <constraint firstItem="8cR-Rc-YMJ" firstAttribute="width" secondItem="1ec-eH-fkX" secondAttribute="width" multiplier="0.6" id="8kM-Og-K54"/> | 462 | <constraint firstItem="8cR-Rc-YMJ" firstAttribute="width" secondItem="1ec-eH-fkX" secondAttribute="width" multiplier="0.6" id="8kM-Og-K54"/> |
| ... | @@ -457,6 +464,7 @@ | ... | @@ -457,6 +464,7 @@ |
| 457 | <constraint firstItem="mri-Wl-spg" firstAttribute="top" secondItem="Xz4-EE-EzJ" secondAttribute="bottom" constant="25" id="9W8-fX-IzR"/> | 464 | <constraint firstItem="mri-Wl-spg" firstAttribute="top" secondItem="Xz4-EE-EzJ" secondAttribute="bottom" constant="25" id="9W8-fX-IzR"/> |
| 458 | <constraint firstItem="xjX-HZ-MpD" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="AIW-Kf-tkQ"/> | 465 | <constraint firstItem="xjX-HZ-MpD" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="AIW-Kf-tkQ"/> |
| 459 | <constraint firstItem="jrM-7n-fSw" firstAttribute="top" secondItem="Zdf-1r-FdJ" secondAttribute="bottom" constant="20" id="G5W-a3-pag"/> | 466 | <constraint firstItem="jrM-7n-fSw" firstAttribute="top" secondItem="Zdf-1r-FdJ" secondAttribute="bottom" constant="20" id="G5W-a3-pag"/> |
| 467 | + <constraint firstItem="huh-zh-82C" firstAttribute="top" secondItem="jrM-7n-fSw" secondAttribute="bottom" constant="10" id="GQF-H5-SZp"/> | ||
| 460 | <constraint firstItem="iiM-5P-m5s" firstAttribute="top" secondItem="1ec-eH-fkX" secondAttribute="top" id="H9I-TB-xig"/> | 468 | <constraint firstItem="iiM-5P-m5s" firstAttribute="top" secondItem="1ec-eH-fkX" secondAttribute="top" id="H9I-TB-xig"/> |
| 461 | <constraint firstItem="8cR-Rc-YMJ" firstAttribute="top" secondItem="UhC-Lj-tfN" secondAttribute="bottom" constant="35" id="I87-km-KEb"/> | 469 | <constraint firstItem="8cR-Rc-YMJ" firstAttribute="top" secondItem="UhC-Lj-tfN" secondAttribute="bottom" constant="35" id="I87-km-KEb"/> |
| 462 | <constraint firstItem="Zdf-1r-FdJ" firstAttribute="top" secondItem="Sg1-QU-FY1" secondAttribute="bottom" constant="10" id="KZi-Jl-Yyz"/> | 470 | <constraint firstItem="Zdf-1r-FdJ" firstAttribute="top" secondItem="Sg1-QU-FY1" secondAttribute="bottom" constant="10" id="KZi-Jl-Yyz"/> |
| ... | @@ -476,9 +484,9 @@ | ... | @@ -476,9 +484,9 @@ |
| 476 | <constraint firstItem="iiM-5P-m5s" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" id="e6i-V3-Csq"/> | 484 | <constraint firstItem="iiM-5P-m5s" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" id="e6i-V3-Csq"/> |
| 477 | <constraint firstItem="8UD-WL-JB7" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="eFM-ex-Dye"/> | 485 | <constraint firstItem="8UD-WL-JB7" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="eFM-ex-Dye"/> |
| 478 | <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="8UD-WL-JB7" secondAttribute="bottom" constant="30" id="emI-WB-sXK"/> | 486 | <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="8UD-WL-JB7" secondAttribute="bottom" constant="30" id="emI-WB-sXK"/> |
| 479 | - <constraint firstItem="6rV-2m-QMZ" firstAttribute="top" secondItem="EKv-Mx-6Yv" secondAttribute="bottom" constant="20" id="hL4-rX-9aa"/> | 487 | + <constraint firstItem="6rV-2m-QMZ" firstAttribute="top" secondItem="EKv-Mx-6Yv" secondAttribute="bottom" constant="15" id="hL4-rX-9aa"/> |
| 480 | <constraint firstItem="Sg1-QU-FY1" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="hUh-Q7-uqi"/> | 488 | <constraint firstItem="Sg1-QU-FY1" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="hUh-Q7-uqi"/> |
| 481 | - <constraint firstItem="EKv-Mx-6Yv" firstAttribute="top" secondItem="jrM-7n-fSw" secondAttribute="bottom" constant="20" id="hZO-Qg-tda"/> | 489 | + <constraint firstItem="EKv-Mx-6Yv" firstAttribute="top" secondItem="huh-zh-82C" secondAttribute="bottom" constant="10" id="hZO-Qg-tda"/> |
| 482 | <constraint firstItem="EKv-Mx-6Yv" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="hf5-qR-yc9"/> | 490 | <constraint firstItem="EKv-Mx-6Yv" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="hf5-qR-yc9"/> |
| 483 | <constraint firstAttribute="trailing" secondItem="Sg1-QU-FY1" secondAttribute="trailing" constant="20" id="j1h-uw-6rC"/> | 491 | <constraint firstAttribute="trailing" secondItem="Sg1-QU-FY1" secondAttribute="trailing" constant="20" id="j1h-uw-6rC"/> |
| 484 | <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="xjX-HZ-MpD" secondAttribute="bottom" constant="30" id="kLr-ZV-vCo"/> | 492 | <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="xjX-HZ-MpD" secondAttribute="bottom" constant="30" id="kLr-ZV-vCo"/> |
| ... | @@ -487,6 +495,7 @@ | ... | @@ -487,6 +495,7 @@ |
| 487 | <constraint firstItem="UhC-Lj-tfN" firstAttribute="top" secondItem="6rV-2m-QMZ" secondAttribute="bottom" constant="35" id="ora-fw-TKe"/> | 495 | <constraint firstItem="UhC-Lj-tfN" firstAttribute="top" secondItem="6rV-2m-QMZ" secondAttribute="bottom" constant="35" id="ora-fw-TKe"/> |
| 488 | <constraint firstAttribute="trailing" secondItem="iiM-5P-m5s" secondAttribute="trailing" id="qWA-17-dEY"/> | 496 | <constraint firstAttribute="trailing" secondItem="iiM-5P-m5s" secondAttribute="trailing" id="qWA-17-dEY"/> |
| 489 | <constraint firstAttribute="trailing" secondItem="xjX-HZ-MpD" secondAttribute="trailing" constant="20" id="rIc-bw-vfp"/> | 497 | <constraint firstAttribute="trailing" secondItem="xjX-HZ-MpD" secondAttribute="trailing" constant="20" id="rIc-bw-vfp"/> |
| 498 | + <constraint firstAttribute="trailing" secondItem="huh-zh-82C" secondAttribute="trailing" constant="30" id="ySg-6E-isO"/> | ||
| 490 | </constraints> | 499 | </constraints> |
| 491 | </view> | 500 | </view> |
| 492 | </subviews> | 501 | </subviews> |
| ... | @@ -526,6 +535,8 @@ | ... | @@ -526,6 +535,8 @@ |
| 526 | </view> | 535 | </view> |
| 527 | <connections> | 536 | <connections> |
| 528 | <outlet property="backgroundImage" destination="B6L-Zs-Vnz" id="0fs-sM-Khn"/> | 537 | <outlet property="backgroundImage" destination="B6L-Zs-Vnz" id="0fs-sM-Khn"/> |
| 538 | + <outlet property="barcodeImage" destination="huh-zh-82C" id="ZLK-Dj-ltk"/> | ||
| 539 | + <outlet property="barcodeImageHeight" destination="LJq-uV-eb8" id="YSo-v7-Gtq"/> | ||
| 529 | <outlet property="barcodeLabel" destination="EKv-Mx-6Yv" id="myd-id-Q29"/> | 540 | <outlet property="barcodeLabel" destination="EKv-Mx-6Yv" id="myd-id-Q29"/> |
| 530 | <outlet property="couponImage" destination="iiM-5P-m5s" id="oKZ-Up-sI3"/> | 541 | <outlet property="couponImage" destination="iiM-5P-m5s" id="oKZ-Up-sI3"/> |
| 531 | <outlet property="couponImageHeight" destination="kL0-u7-VI9" id="QJ9-gs-XUh"/> | 542 | <outlet property="couponImageHeight" destination="kL0-u7-VI9" id="QJ9-gs-XUh"/> | ... | ... |
-
Please register or login to post a comment