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
2022-07-05 11:12:27 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
89dbe484ca60b6ca8a014bb1d181f60c63e6016c
89dbe484
1 parent
7072d94b
add coupon log at CouponsVC
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CouponsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponsViewController.swift
View file @
89dbe48
...
...
@@ -87,6 +87,13 @@ extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{
// SwiftEventBus.post("couponBarcodePressed", sender: coupons[indexPath.row])
// Logs
let
couponSetData
:
swiftApi
.
CouponSetItemModel
?
=
coupons
[
indexPath
.
row
]
.
couponset_data
print
(
"Coupon clicked: "
+
(
coupons
[
indexPath
.
row
]
.
coupon
??
""
))
print
(
"Coupon Name clicked: "
+
(
couponSetData
?
.
name
??
""
))
print
(
"Coupon Description clicked: "
+
(
couponSetData
?
.
short_description
??
""
))
print
(
"Coupon Expiration clicked: "
+
(
coupons
[
indexPath
.
row
]
.
expiration
??
""
))
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"CouponBarcodeViewController"
)
as!
SwiftWarplyFramework
.
CouponBarcodeViewController
vc
.
coupon
=
coupons
[
indexPath
.
row
]
...
...
Please
register
or
login
to post a comment