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-06 11:43:22 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
26b9b8d5f8f5263a109a98eedeac921e2c3694a8
26b9b8d5
1 parent
e3de82cf
add campaign url logs
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
26b9b8d
...
...
@@ -103,6 +103,7 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
}
else
{
url
=
swiftApi
()
.
constructCampaignUrl
(
campaigns
[
indexPath
.
row
])
}
print
(
"CampaignUrl url onclick: "
+
url
)
vc
.
campaignUrl
=
url
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
26b9b8d
...
...
@@ -90,6 +90,7 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"CampaignViewController"
)
as!
SwiftWarplyFramework
.
CampaignViewController
let
url
=
swiftApi
()
.
constructCampaignUrl
(
campaigns
[
indexPath
.
row
])
print
(
"CampaignUrl url onclick: "
+
url
)
vc
.
campaignUrl
=
url
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
...
...
Please
register
or
login
to post a comment