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
2026-02-27 15:32:41 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9a08168a8127f980dc099fe19a37b33f35f44d3b
9a08168a
1 parent
98318210
add CouponsetViewController
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
2 deletions
Package.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manoschorianopoulos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/project.pbxproj
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manoschorianopoulos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manoschorianopoulos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponsetViewController/CouponsetViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponsetViewController/CouponsetViewController.xib
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
Package.swift
View file @
9a08168
...
...
@@ -51,6 +51,7 @@ let package = Package(
.
process
(
"cells/ProfileCouponTableViewCell/ProfileCouponTableViewCell.xib"
),
.
process
(
"cells/ProfileFilterCollectionViewCell/ProfileFilterCollectionViewCell.xib"
),
.
process
(
"screens/CouponViewController/CouponViewController.xib"
),
.
process
(
"screens/CouponsetViewController/CouponsetViewController.xib"
),
.
process
(
"screens/ProfileViewController/ProfileViewController.xib"
),
.
process
(
"screens/CampaignViewController/CampaignViewController.xib"
),
.
process
(
"cells/MyRewardsOfferCollectionViewCell/MyRewardsOfferCollectionViewCell.xib"
),
...
...
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manoschorianopoulos.xcuserdatad/xcschemes/xcschememanagement.plist
0 → 100644
View file @
9a08168
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
SchemeUserState
</key>
<dict>
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
</dict>
</dict>
</dict>
</plist>
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/project.pbxproj
View file @
9a08168
...
...
@@ -71,6 +71,8 @@
1EDBAF112DE8443B00911E79 /* ProfileHeaderTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDBAF0E2DE8443B00911E79 /* ProfileHeaderTableViewCell.swift */; };
1EDD0ABD2E0D308A005E162B /* XIBLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDD0ABC2E0D308A005E162B /* XIBLoader.swift */; };
1EDD0AC62E0D68B6005E162B /* SQLite in Frameworks */ = {isa = PBXBuildFile; productRef = 1EDD0AC52E0D68B6005E162B /* SQLite */; };
622DA0AE2F51CAEE00308AB8 /* CouponsetViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 622DA0AD2F51CAEE00308AB8 /* CouponsetViewController.xib */; };
622DA0AF2F51CAEE00308AB8 /* CouponsetViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 622DA0AC2F51CAEE00308AB8 /* CouponsetViewController.swift */; };
7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; };
A07936762885E9CC00064122 /* UIColorExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A07936752885E9CC00064122 /* UIColorExtensions.swift */; };
E6A77853282933340045BBA8 /* SwiftWarplyFramework.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6A77852282933340045BBA8 /* SwiftWarplyFramework.docc */; };
...
...
@@ -146,6 +148,8 @@
1EDBAF0E2DE8443B00911E79 /* ProfileHeaderTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProfileHeaderTableViewCell.swift; sourceTree = "<group>"; };
1EDBAF0F2DE8443B00911E79 /* ProfileHeaderTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ProfileHeaderTableViewCell.xib; sourceTree = "<group>"; };
1EDD0ABC2E0D308A005E162B /* XIBLoader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XIBLoader.swift; sourceTree = "<group>"; };
622DA0AC2F51CAEE00308AB8 /* CouponsetViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponsetViewController.swift; sourceTree = "<group>"; };
622DA0AD2F51CAEE00308AB8 /* CouponsetViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CouponsetViewController.xib; sourceTree = "<group>"; };
A07936752885E9CC00064122 /* UIColorExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIColorExtensions.swift; sourceTree = "<group>"; };
A9B7BE01A4E812DE49866EF8 /* Pods-SwiftWarplyFramework.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.debug.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.debug.xcconfig"; sourceTree = "<group>"; };
B9EB8A451EF0C5AD75094EEE /* Pods-SwiftWarplyFramework.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.release.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.release.xcconfig"; sourceTree = "<group>"; };
...
...
@@ -319,6 +323,7 @@
1EA8E5B42DDF315600CD3418 /* screens */ = {
isa = PBXGroup;
children = (
622DA0AB2F51CA9100308AB8 /* CouponsetViewController */,
1EBE45642E02DDF90055A0D4 /* CampaignViewController */,
1E917CD32DDF6472002221D8 /* MyRewardsViewController */,
1E917CD82DDF687E002221D8 /* CouponViewController */,
...
...
@@ -425,6 +430,15 @@
path = ProfileFilterCollectionViewCell;
sourceTree = "<group>";
};
622DA0AB2F51CA9100308AB8 /* CouponsetViewController */ = {
isa = PBXGroup;
children = (
622DA0AC2F51CAEE00308AB8 /* CouponsetViewController.swift */,
622DA0AD2F51CAEE00308AB8 /* CouponsetViewController.xib */,
);
path = CouponsetViewController;
sourceTree = "<group>";
};
98AD36FA62350CEABCD961A7 /* Frameworks */ = {
isa = PBXGroup;
children = (
...
...
@@ -598,6 +612,7 @@
1E116F682DE845B1009AE791 /* ProfileFilterCollectionViewCell.xib in Resources */,
1EB4F4252DE09AAC00D934C0 /* MyRewardsBannerOffersScrollTableViewCell.xib in Resources */,
1EA8E5C02DDF427A00CD3418 /* PingLCG-Bold.otf in Resources */,
622DA0AE2F51CAEE00308AB8 /* CouponsetViewController.xib in Resources */,
1E64E1832DE48E0600543217 /* MyRewardsOfferCollectionViewCell.xib in Resources */,
1EA8E5C12DDF427A00CD3418 /* PingLCG-Light.otf in Resources */,
1EA8E5C22DDF427A00CD3418 /* PingLCG-Regular.otf in Resources */,
...
...
@@ -660,6 +675,7 @@
1E089E062DF87CED007459F1 /* Endpoints.swift in Sources */,
1E089E072DF87CED007459F1 /* NetworkService.swift in Sources */,
1EBE45672E02DE9A0055A0D4 /* CampaignViewController.swift in Sources */,
622DA0AF2F51CAEE00308AB8 /* CouponsetViewController.swift in Sources */,
1E089DFE2DF87C39007459F1 /* Coupon.swift in Sources */,
1E089DFF2DF87C39007459F1 /* OfferModel.swift in Sources */,
1ED41E4C2DE0C24D00836ABA /* MyRewardsBannerOfferCollectionViewCell.swift in Sources */,
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manoschorianopoulos.xcuserdatad/xcschemes/xcschememanagement.plist
0 → 100644
View file @
9a08168
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
SchemeUserState
</key>
<dict>
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
</dict>
</dict>
</dict>
</plist>
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manoschorianopoulos.xcuserdatad/UserInterfaceState.xcuserstate
0 → 100644
View file @
9a08168
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponsetViewController/CouponsetViewController.swift
0 → 100644
View file @
9a08168
This diff is collapsed. Click to expand it.
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponsetViewController/CouponsetViewController.xib
0 → 100644
View file @
9a08168
This diff is collapsed. Click to expand it.
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
View file @
9a08168
...
...
@@ -565,6 +565,13 @@ import UIKit
// self.navigationController?.pushViewController(vc, animated: true)
print
(
"CouponViewController navigation commented out - will handle later"
)
}
private
func
openCouponsetViewController
(
with
couponSet
:
CouponSetItemModel
)
{
let
vc
=
SwiftWarplyFramework
.
CouponsetViewController
(
nibName
:
"CouponsetViewController"
,
bundle
:
Bundle
.
frameworkBundle
)
vc
.
couponSet
=
couponSet
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
private
func
openProfileViewController
()
{
let
vc
=
SwiftWarplyFramework
.
ProfileViewController
(
nibName
:
"ProfileViewController"
,
bundle
:
Bundle
.
frameworkBundle
)
...
...
@@ -680,7 +687,6 @@ extension MyRewardsViewController: MyRewardsOffersScrollTableViewCellDelegate {
}
func
didSelectCouponSet
(
_
couponSet
:
CouponSetItemModel
)
{
// New logic for CouponSetItemModel - will handle navigation later
print
(
"CouponSet selected:
\(
couponSet
.
_name
)
"
)
openCouponsetViewController
(
with
:
couponSet
)
}
}
...
...
Please
register
or
login
to post a comment