Showing
1 changed file
with
0 additions
and
30 deletions
... | @@ -87,36 +87,6 @@ extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -87,36 +87,6 @@ extension CouponsViewController: UITableViewDelegate, UITableViewDataSource{ |
87 | 87 | ||
88 | // SwiftEventBus.post("couponBarcodePressed", sender: coupons[indexPath.row]) | 88 | // SwiftEventBus.post("couponBarcodePressed", sender: coupons[indexPath.row]) |
89 | 89 | ||
90 | - // firebase event | ||
91 | - let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
92 | - firebaseEvent._eventName = "abc" | ||
93 | - firebaseEvent.setParameter = ("1", "asd") | ||
94 | - SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
95 | - | ||
96 | - // ccms event | ||
97 | - let ccms = swiftApi.LoyaltyContextualOfferModel() | ||
98 | - SwiftEventBus.post("ccms", sender: ccms) | ||
99 | - | ||
100 | - // pacing_visible event | ||
101 | - let pacingEvent = swiftApi.WarplyPacingCardEventModel() | ||
102 | - pacingEvent._isVisible = true | ||
103 | - SwiftEventBus.post("pacing_visible", sender: pacingEvent) | ||
104 | - | ||
105 | - // pacing_service event | ||
106 | - let pacingService = swiftApi.WarplyPacingCardServiceEnabledModel() | ||
107 | - pacingService._isEnabled = true | ||
108 | - SwiftEventBus.post("pacing_service", sender: pacingService) | ||
109 | - | ||
110 | - // analysis_pressed event | ||
111 | - let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel() | ||
112 | - dealsAnalysis._isPressed = true | ||
113 | - SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis) | ||
114 | - | ||
115 | - // ccms_enabled event | ||
116 | - let ccmsEnabled = swiftApi.WarplyCCMSEnabledModel() | ||
117 | - ccmsEnabled._isActivated = true | ||
118 | - SwiftEventBus.post("ccms_enabled", sender: ccmsEnabled) | ||
119 | - | ||
120 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 90 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) |
121 | let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController | 91 | let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController |
122 | vc.coupon = coupons[indexPath.row] | 92 | vc.coupon = coupons[indexPath.row] | ... | ... |
-
Please register or login to post a comment