Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2024-02-07 14:37:34 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
157e1817157b66dd7cf8df5d2634f492634b1524
157e1817
1 parent
299193f4
update SwiftEventBus
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
30 deletions
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/project.pbxproj
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBCHeaderTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBarcodeViewController.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
157e181
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/project.pbxproj
View file @
157e181
...
...
@@ -46,7 +46,6 @@
1EB5F4CA285370C90016F36E /* LoyaltyAnalysisViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EB5F4C9285370C90016F36E /* LoyaltyAnalysisViewController.swift */; };
1EBC75432922829D004FBE75 /* SpinnerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBC75422922829D004FBE75 /* SpinnerViewController.swift */; };
1EBE97212865EE460080EFF7 /* MFYInboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */; };
1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */ = {isa = PBXBuildFile; productRef = 1EBF5F062840E13F00B8B17F /* SwiftEventBus */; };
1ECA079128D9E3BA00D2BDE0 /* CSMButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079028D9E3BA00D2BDE0 /* CSMButton.swift */; };
1ECA079428D9E53F00D2BDE0 /* MapsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079228D9E53F00D2BDE0 /* MapsViewController.swift */; };
1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; };
...
...
@@ -59,6 +58,7 @@
1EEA9FD02B7371670019C854 /* OffersTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FCF2B7371670019C854 /* OffersTableViewCell.swift */; };
1EEA9FD22B737D900019C854 /* LoyaltyViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FD12B737D900019C854 /* LoyaltyViewController.swift */; };
1EEA9FD42B7384260019C854 /* FiltersTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EEA9FD32B7384260019C854 /* FiltersTableViewCell.swift */; };
1EEAA0152B73B0EA0019C854 /* SwiftEventBus in Frameworks */ = {isa = PBXBuildFile; productRef = 1EEAA0142B73B0EA0019C854 /* SwiftEventBus */; };
7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; };
A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; };
A04D31DE288FF670000E43B5 /* HistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A04D31DD288FF670000E43B5 /* HistoryViewController.swift */; };
...
...
@@ -396,8 +396,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
1EEAA0152B73B0EA0019C854 /* SwiftEventBus in Frameworks */,
7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */,
1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
...
...
@@ -884,7 +884,7 @@
);
name = SwiftWarplyFramework;
packageProductDependencies = (
1E
BF5F062840E13F00B8B17F
/* SwiftEventBus */,
1E
EAA0142B73B0EA0019C854
/* SwiftEventBus */,
);
productName = SwiftWarplyFramework;
productReference = E6A7784E282933340045BBA8 /* SwiftWarplyFramework.framework */;
...
...
@@ -915,7 +915,7 @@
);
mainGroup = E6A77844282933340045BBA8;
packageReferences = (
1E
BF5F052840E13F00B8B17F
/* XCRemoteSwiftPackageReference "SwiftEventBus" */,
1E
EAA0132B73B0EA0019C854
/* XCRemoteSwiftPackageReference "SwiftEventBus" */,
);
productRefGroup = E6A7784F282933340045BBA8 /* Products */;
projectDirPath = "";
...
...
@@ -1323,20 +1323,20 @@
/* End XCConfigurationList section */
/* Begin XCRemoteSwiftPackageReference section */
1E
BF5F052840E13F00B8B17F
/* XCRemoteSwiftPackageReference "SwiftEventBus" */ = {
1E
EAA0132B73B0EA0019C854
/* XCRemoteSwiftPackageReference "SwiftEventBus" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/cesarferreira/SwiftEventBus";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.
0
.0;
minimumVersion = 5.
1
.0;
};
};
/* End XCRemoteSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
1E
BF5F062840E13F00B8B17F
/* SwiftEventBus */ = {
1E
EAA0142B73B0EA0019C854
/* SwiftEventBus */ = {
isa = XCSwiftPackageProductDependency;
package = 1E
BF5F052840E13F00B8B17F
/* XCRemoteSwiftPackageReference "SwiftEventBus" */;
package = 1E
EAA0132B73B0EA0019C854
/* XCRemoteSwiftPackageReference "SwiftEventBus" */;
productName = SwiftEventBus;
};
/* End XCSwiftPackageProductDependency section */
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
157e181
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
157e181
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBCHeaderTableViewCell.swift
View file @
157e181
...
...
@@ -6,7 +6,7 @@
//
import
UIKit
import
RSBarcodes_Swift
//
import RSBarcodes_Swift
import
AVFoundation
// import SwiftEventBus
...
...
@@ -151,30 +151,30 @@ import AVFoundation
barcodeLabel
.
text
=
barcodeString
// Uncomment if Barcode Section is active again
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
))
{
barcodeImage
.
image
=
barcodeUIImage
//
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)) {
//
barcodeImage.image = barcodeUIImage
barcodeImageHeight
.
constant
=
self
.
uiscreen
.
height
*
0.1
//
barcodeImageHeight.constant = self.uiscreen.height * 0.1
showBarcodeButton
.
isHidden
=
false
showBarcodeButtonHeight
.
constant
=
50
showBarcodeButtonTopSpace
.
constant
=
10
//
showBarcodeButton.isHidden = false
//
showBarcodeButtonHeight.constant = 50
//
showBarcodeButtonTopSpace.constant = 10
}
else
{
barcodeImageHeight
.
constant
=
0
//
} else {
//
barcodeImageHeight.constant = 0
showBarcodeButton
.
isHidden
=
true
showBarcodeButtonHeight
.
constant
=
0
showBarcodeButtonTopSpace
.
constant
=
0
//
showBarcodeButton.isHidden = true
//
showBarcodeButtonHeight.constant = 0
//
showBarcodeButtonTopSpace.constant = 0
borderViewHeight
.
constant
=
CGFloat
(
0
)
borderView2Height
.
constant
=
CGFloat
(
0
)
//
borderViewHeight.constant = CGFloat(0)
//
borderView2Height.constant = CGFloat(0)
border1TopSpace
.
constant
=
CGFloat
(
0
)
// 20
barcodeImageTopSpace
.
constant
=
CGFloat
(
0
)
// 10
barcodeLabelTopSpace
.
constant
=
CGFloat
(
0
)
// 10
border2TopSpace
.
constant
=
CGFloat
(
0
)
// 15
}
//
border1TopSpace.constant = CGFloat(0) // 20
//
barcodeImageTopSpace.constant = CGFloat(0) // 10
//
barcodeLabelTopSpace.constant = CGFloat(0) // 10
//
border2TopSpace.constant = CGFloat(0) // 15
//
}
// ===
// === Hide Barcode Section
...
...
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBarcodeViewController.swift
View file @
157e181
...
...
@@ -6,7 +6,7 @@
//
import
UIKit
import
RSBarcodes_Swift
//
import RSBarcodes_Swift
import
AVFoundation
import
SwiftEventBus
...
...
Please
register
or
login
to post a comment