Manos Chorianopoulos

update SwiftEventBus

...@@ -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>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -46,7 +46,6 @@ ...@@ -46,7 +46,6 @@
46 1EB5F4CA285370C90016F36E /* LoyaltyAnalysisViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EB5F4C9285370C90016F36E /* LoyaltyAnalysisViewController.swift */; }; 46 1EB5F4CA285370C90016F36E /* LoyaltyAnalysisViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EB5F4C9285370C90016F36E /* LoyaltyAnalysisViewController.swift */; };
47 1EBC75432922829D004FBE75 /* SpinnerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBC75422922829D004FBE75 /* SpinnerViewController.swift */; }; 47 1EBC75432922829D004FBE75 /* SpinnerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBC75422922829D004FBE75 /* SpinnerViewController.swift */; };
48 1EBE97212865EE460080EFF7 /* MFYInboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */; }; 48 1EBE97212865EE460080EFF7 /* MFYInboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */; };
49 - 1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */ = {isa = PBXBuildFile; productRef = 1EBF5F062840E13F00B8B17F /* SwiftEventBus */; };
50 1ECA079128D9E3BA00D2BDE0 /* CSMButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079028D9E3BA00D2BDE0 /* CSMButton.swift */; }; 49 1ECA079128D9E3BA00D2BDE0 /* CSMButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079028D9E3BA00D2BDE0 /* CSMButton.swift */; };
51 1ECA079428D9E53F00D2BDE0 /* MapsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079228D9E53F00D2BDE0 /* MapsViewController.swift */; }; 50 1ECA079428D9E53F00D2BDE0 /* MapsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079228D9E53F00D2BDE0 /* MapsViewController.swift */; };
52 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; }; 51 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; };
...@@ -59,6 +58,7 @@ ...@@ -59,6 +58,7 @@
59 1EEA9FD02B7371670019C854 /* OffersTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FCF2B7371670019C854 /* OffersTableViewCell.swift */; }; 58 1EEA9FD02B7371670019C854 /* OffersTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FCF2B7371670019C854 /* OffersTableViewCell.swift */; };
60 1EEA9FD22B737D900019C854 /* LoyaltyViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FD12B737D900019C854 /* LoyaltyViewController.swift */; }; 59 1EEA9FD22B737D900019C854 /* LoyaltyViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FD12B737D900019C854 /* LoyaltyViewController.swift */; };
61 1EEA9FD42B7384260019C854 /* FiltersTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FD32B7384260019C854 /* FiltersTableViewCell.swift */; }; 60 1EEA9FD42B7384260019C854 /* FiltersTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FD32B7384260019C854 /* FiltersTableViewCell.swift */; };
61 + 1EEAA0152B73B0EA0019C854 /* SwiftEventBus in Frameworks */ = {isa = PBXBuildFile; productRef = 1EEAA0142B73B0EA0019C854 /* SwiftEventBus */; };
62 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; }; 62 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; };
63 A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; }; 63 A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; };
64 A04D31DE288FF670000E43B5 /* HistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A04D31DD288FF670000E43B5 /* HistoryViewController.swift */; }; 64 A04D31DE288FF670000E43B5 /* HistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A04D31DD288FF670000E43B5 /* HistoryViewController.swift */; };
...@@ -396,8 +396,8 @@ ...@@ -396,8 +396,8 @@
396 isa = PBXFrameworksBuildPhase; 396 isa = PBXFrameworksBuildPhase;
397 buildActionMask = 2147483647; 397 buildActionMask = 2147483647;
398 files = ( 398 files = (
399 + 1EEAA0152B73B0EA0019C854 /* SwiftEventBus in Frameworks */,
399 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */, 400 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */,
400 - 1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */,
401 ); 401 );
402 runOnlyForDeploymentPostprocessing = 0; 402 runOnlyForDeploymentPostprocessing = 0;
403 }; 403 };
...@@ -884,7 +884,7 @@ ...@@ -884,7 +884,7 @@
884 ); 884 );
885 name = SwiftWarplyFramework; 885 name = SwiftWarplyFramework;
886 packageProductDependencies = ( 886 packageProductDependencies = (
887 - 1EBF5F062840E13F00B8B17F /* SwiftEventBus */, 887 + 1EEAA0142B73B0EA0019C854 /* SwiftEventBus */,
888 ); 888 );
889 productName = SwiftWarplyFramework; 889 productName = SwiftWarplyFramework;
890 productReference = E6A7784E282933340045BBA8 /* SwiftWarplyFramework.framework */; 890 productReference = E6A7784E282933340045BBA8 /* SwiftWarplyFramework.framework */;
...@@ -915,7 +915,7 @@ ...@@ -915,7 +915,7 @@
915 ); 915 );
916 mainGroup = E6A77844282933340045BBA8; 916 mainGroup = E6A77844282933340045BBA8;
917 packageReferences = ( 917 packageReferences = (
918 - 1EBF5F052840E13F00B8B17F /* XCRemoteSwiftPackageReference "SwiftEventBus" */, 918 + 1EEAA0132B73B0EA0019C854 /* XCRemoteSwiftPackageReference "SwiftEventBus" */,
919 ); 919 );
920 productRefGroup = E6A7784F282933340045BBA8 /* Products */; 920 productRefGroup = E6A7784F282933340045BBA8 /* Products */;
921 projectDirPath = ""; 921 projectDirPath = "";
...@@ -1323,20 +1323,20 @@ ...@@ -1323,20 +1323,20 @@
1323 /* End XCConfigurationList section */ 1323 /* End XCConfigurationList section */
1324 1324
1325 /* Begin XCRemoteSwiftPackageReference section */ 1325 /* Begin XCRemoteSwiftPackageReference section */
1326 - 1EBF5F052840E13F00B8B17F /* XCRemoteSwiftPackageReference "SwiftEventBus" */ = { 1326 + 1EEAA0132B73B0EA0019C854 /* XCRemoteSwiftPackageReference "SwiftEventBus" */ = {
1327 isa = XCRemoteSwiftPackageReference; 1327 isa = XCRemoteSwiftPackageReference;
1328 repositoryURL = "https://github.com/cesarferreira/SwiftEventBus"; 1328 repositoryURL = "https://github.com/cesarferreira/SwiftEventBus";
1329 requirement = { 1329 requirement = {
1330 kind = upToNextMajorVersion; 1330 kind = upToNextMajorVersion;
1331 - minimumVersion = 5.0.0; 1331 + minimumVersion = 5.1.0;
1332 }; 1332 };
1333 }; 1333 };
1334 /* End XCRemoteSwiftPackageReference section */ 1334 /* End XCRemoteSwiftPackageReference section */
1335 1335
1336 /* Begin XCSwiftPackageProductDependency section */ 1336 /* Begin XCSwiftPackageProductDependency section */
1337 - 1EBF5F062840E13F00B8B17F /* SwiftEventBus */ = { 1337 + 1EEAA0142B73B0EA0019C854 /* SwiftEventBus */ = {
1338 isa = XCSwiftPackageProductDependency; 1338 isa = XCSwiftPackageProductDependency;
1339 - package = 1EBF5F052840E13F00B8B17F /* XCRemoteSwiftPackageReference "SwiftEventBus" */; 1339 + package = 1EEAA0132B73B0EA0019C854 /* XCRemoteSwiftPackageReference "SwiftEventBus" */;
1340 productName = SwiftEventBus; 1340 productName = SwiftEventBus;
1341 }; 1341 };
1342 /* End XCSwiftPackageProductDependency section */ 1342 /* End XCSwiftPackageProductDependency section */
......
...@@ -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>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 // 6 //
7 7
8 import UIKit 8 import UIKit
9 -import RSBarcodes_Swift 9 +// import RSBarcodes_Swift
10 import AVFoundation 10 import AVFoundation
11 // import SwiftEventBus 11 // import SwiftEventBus
12 12
...@@ -151,30 +151,30 @@ import AVFoundation ...@@ -151,30 +151,30 @@ import AVFoundation
151 barcodeLabel.text = barcodeString 151 barcodeLabel.text = barcodeString
152 152
153 // Uncomment if Barcode Section is active again 153 // Uncomment if Barcode Section is active again
154 - 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)) { 154 + // 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)) {
155 - barcodeImage.image = barcodeUIImage 155 + // barcodeImage.image = barcodeUIImage
156 156
157 - barcodeImageHeight.constant = self.uiscreen.height * 0.1 157 + // barcodeImageHeight.constant = self.uiscreen.height * 0.1
158 158
159 - showBarcodeButton.isHidden = false 159 + // showBarcodeButton.isHidden = false
160 - showBarcodeButtonHeight.constant = 50 160 + // showBarcodeButtonHeight.constant = 50
161 - showBarcodeButtonTopSpace.constant = 10 161 + // showBarcodeButtonTopSpace.constant = 10
162 162
163 - } else { 163 + // } else {
164 - barcodeImageHeight.constant = 0 164 + // barcodeImageHeight.constant = 0
165 165
166 - showBarcodeButton.isHidden = true 166 + // showBarcodeButton.isHidden = true
167 - showBarcodeButtonHeight.constant = 0 167 + // showBarcodeButtonHeight.constant = 0
168 - showBarcodeButtonTopSpace.constant = 0 168 + // showBarcodeButtonTopSpace.constant = 0
169 169
170 - borderViewHeight.constant = CGFloat(0) 170 + // borderViewHeight.constant = CGFloat(0)
171 - borderView2Height.constant = CGFloat(0) 171 + // borderView2Height.constant = CGFloat(0)
172 172
173 - border1TopSpace.constant = CGFloat(0) // 20 173 + // border1TopSpace.constant = CGFloat(0) // 20
174 - barcodeImageTopSpace.constant = CGFloat(0) // 10 174 + // barcodeImageTopSpace.constant = CGFloat(0) // 10
175 - barcodeLabelTopSpace.constant = CGFloat(0) // 10 175 + // barcodeLabelTopSpace.constant = CGFloat(0) // 10
176 - border2TopSpace.constant = CGFloat(0) // 15 176 + // border2TopSpace.constant = CGFloat(0) // 15
177 - } 177 + // }
178 // === 178 // ===
179 179
180 // === Hide Barcode Section 180 // === Hide Barcode Section
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 // 6 //
7 7
8 import UIKit 8 import UIKit
9 -import RSBarcodes_Swift 9 +// import RSBarcodes_Swift
10 import AVFoundation 10 import AVFoundation
11 import SwiftEventBus 11 import SwiftEventBus
12 12
......