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-09-28 11:27:02 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
132a9c46e6dfab3bccbbac0fc1e5a8dc2112022a
132a9c46
1 parent
d42cd7b6
comment getSingleCampaignAsyncRequest
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
38 deletions
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
132a9c4
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
132a9c4
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
132a9c4
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
132a9c4
...
...
@@ -173,9 +173,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
ccms
=
campaigns
[
indexPath
.
row
]
.
_ccms
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
else
if
(
campaigns
[
indexPath
.
row
]
.
_type
!=
nil
&&
campaigns
[
indexPath
.
row
]
.
_type
==
"telco"
)
{
let
ccmsCampaigns
=
swiftApi
()
.
getCCMSLoyaltyCampaigns
()
...
...
@@ -190,9 +190,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
campaign
=
campaigns
[
indexPath
.
row
]
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
}
...
...
@@ -225,9 +225,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
@@ -284,9 +284,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
params
=
params
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
else
{
let
seasonalEvent
=
swiftApi
.
LoyaltyGiftsForYouOfferClickEvent
()
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
132a9c4
...
...
@@ -115,9 +115,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
ccms
=
campaigns
[
indexPath
.
row
]
.
_ccms
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
else
if
(
campaigns
[
indexPath
.
row
]
.
_type
!=
nil
&&
campaigns
[
indexPath
.
row
]
.
_type
==
"telco"
)
{
let
ccmsCampaigns
=
swiftApi
()
.
getCCMSLoyaltyCampaigns
()
...
...
@@ -132,9 +132,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
campaign
=
campaigns
[
indexPath
.
row
]
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
}
}
...
...
@@ -166,9 +166,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
@@ -231,9 +231,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
vc
.
params
=
params
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaigns
[
indexPath
.
row
]
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaigns[indexPath.row].session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
132a9c4
...
...
@@ -4921,9 +4921,9 @@ public class swiftApi {
vc
.
campaign
=
campaign
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
@@ -4938,9 +4938,9 @@ public class swiftApi {
vc
.
params
=
swiftApi
()
.
constructCampaignParams
(
campaign
)
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
campaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = campaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
}
func
getSingleCampaignAsyncRequest
(
sessionUuid
:
String
)
{
...
...
@@ -4983,9 +4983,9 @@ public class swiftApi {
vc
.
params
=
swiftApi
()
.
constructCcmsParams
(
loyaltyCampaign
,
ccms
)
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
loyaltyCampaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = loyaltyCampaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
else
if
(
isTelco
&&
(
loyaltyCampaign
.
session_uuid
==
ccms
.
_loyaltyCampaignId
))
{
...
...
@@ -4996,9 +4996,9 @@ public class swiftApi {
vc
.
campaign
=
loyaltyCampaign
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
let
sessionUuid
=
loyaltyCampaign
.
session_uuid
{
getSingleCampaignAsyncRequest
(
sessionUuid
:
sessionUuid
)
}
//
if let sessionUuid = loyaltyCampaign.session_uuid {
//
getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
//
}
break
;
}
...
...
Please
register
or
login
to post a comment