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-12 18:57:33 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b247bc8e5be44ad9114bf7fdd0ec1929fc92ef19
b247bc8e
1 parent
cda21e9f
fix async ccms v2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
b247bc8
...
...
@@ -38,7 +38,7 @@ import SwiftEventBus
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
SwiftEventBus
.
on
Background
Thread
(
self
,
name
:
"ccms_retrieved"
)
{
result
in
SwiftEventBus
.
on
Main
Thread
(
self
,
name
:
"ccms_retrieved"
)
{
result
in
print
(
"===== SwiftEventBus ccms_retrieved ====="
)
self
.
campaigns
=
swiftApi
()
.
mergeGFYCCMSLoyaltyCampaigns
(
campaigns
:
swiftApi
()
.
getCCMSLoyaltyCampaigns
())
self
.
tableView
.
reloadData
()
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
b247bc8
...
...
@@ -27,7 +27,7 @@ import SwiftEventBus
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
SwiftEventBus
.
on
Background
Thread
(
self
,
name
:
"ccms_retrieved"
)
{
result
in
SwiftEventBus
.
on
Main
Thread
(
self
,
name
:
"ccms_retrieved"
)
{
result
in
print
(
"===== SwiftEventBus ccms_retrieved ====="
)
self
.
campaigns
=
swiftApi
()
.
mergeGFYCCMSLoyaltyCampaigns
(
campaigns
:
swiftApi
()
.
getCCMSLoyaltyCampaigns
())
self
.
tableView
.
reloadData
()
...
...
Please
register
or
login
to post a comment