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 10:41:21 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1a8981f46b4a85dba607828d4ec7b4cb13c35dad
1a8981f4
1 parent
2730d345
delete unnecesary events
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CouponsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponsViewController.swift
View file @
1a8981f
...
...
@@ -87,36 +87,6 @@ extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{
// SwiftEventBus.post("couponBarcodePressed", sender: coupons[indexPath.row])
// firebase event
let
firebaseEvent
=
swiftApi
.
LoyaltySDKFirebaseEventModel
()
firebaseEvent
.
_eventName
=
"abc"
firebaseEvent
.
setParameter
=
(
"1"
,
"asd"
)
SwiftEventBus
.
post
(
"firebase"
,
sender
:
firebaseEvent
)
// ccms event
let
ccms
=
swiftApi
.
LoyaltyContextualOfferModel
()
SwiftEventBus
.
post
(
"ccms"
,
sender
:
ccms
)
// pacing_visible event
let
pacingEvent
=
swiftApi
.
WarplyPacingCardEventModel
()
pacingEvent
.
_isVisible
=
true
SwiftEventBus
.
post
(
"pacing_visible"
,
sender
:
pacingEvent
)
// pacing_service event
let
pacingService
=
swiftApi
.
WarplyPacingCardServiceEnabledModel
()
pacingService
.
_isEnabled
=
true
SwiftEventBus
.
post
(
"pacing_service"
,
sender
:
pacingService
)
// analysis_pressed event
let
dealsAnalysis
=
swiftApi
.
WarplyDealsAnalysisEventModel
()
dealsAnalysis
.
_isPressed
=
true
SwiftEventBus
.
post
(
"analysis_pressed"
,
sender
:
dealsAnalysis
)
// ccms_enabled event
let
ccmsEnabled
=
swiftApi
.
WarplyCCMSEnabledModel
()
ccmsEnabled
.
_isActivated
=
true
SwiftEventBus
.
post
(
"ccms_enabled"
,
sender
:
ccmsEnabled
)
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