Manos Chorianopoulos

comment getSingleCampaignAsyncRequest

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -173,9 +173,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -173,9 +173,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
173 vc.ccms = campaigns[indexPath.row]._ccms 173 vc.ccms = campaigns[indexPath.row]._ccms
174 self.navigationController?.pushViewController(vc, animated: true) 174 self.navigationController?.pushViewController(vc, animated: true)
175 175
176 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 176 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
177 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 177 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
178 - } 178 + // }
179 179
180 } else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") { 180 } else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") {
181 let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns() 181 let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns()
...@@ -190,9 +190,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -190,9 +190,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
190 vc.campaign = campaigns[indexPath.row] 190 vc.campaign = campaigns[indexPath.row]
191 self.navigationController?.pushViewController(vc, animated: true) 191 self.navigationController?.pushViewController(vc, animated: true)
192 192
193 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 193 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
194 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 194 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
195 - } 195 + // }
196 break; 196 break;
197 } 197 }
198 } 198 }
...@@ -225,9 +225,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -225,9 +225,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
225 225
226 self.navigationController?.pushViewController(vc, animated: true) 226 self.navigationController?.pushViewController(vc, animated: true)
227 227
228 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 228 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
229 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 229 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
230 - } 230 + // }
231 231
232 break; 232 break;
233 } 233 }
...@@ -284,9 +284,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -284,9 +284,9 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
284 vc.params = params 284 vc.params = params
285 self.navigationController?.pushViewController(vc, animated: true) 285 self.navigationController?.pushViewController(vc, animated: true)
286 286
287 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 287 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
288 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 288 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
289 - } 289 + // }
290 290
291 } else { 291 } else {
292 let seasonalEvent = swiftApi.LoyaltyGiftsForYouOfferClickEvent() 292 let seasonalEvent = swiftApi.LoyaltyGiftsForYouOfferClickEvent()
......
...@@ -115,9 +115,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -115,9 +115,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
115 vc.ccms = campaigns[indexPath.row]._ccms 115 vc.ccms = campaigns[indexPath.row]._ccms
116 self.navigationController?.pushViewController(vc, animated: true) 116 self.navigationController?.pushViewController(vc, animated: true)
117 117
118 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 118 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
119 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 119 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
120 - } 120 + // }
121 121
122 } else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") { 122 } else if (campaigns[indexPath.row]._type != nil && campaigns[indexPath.row]._type == "telco") {
123 let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns() 123 let ccmsCampaigns = swiftApi().getCCMSLoyaltyCampaigns()
...@@ -132,9 +132,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -132,9 +132,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
132 vc.campaign = campaigns[indexPath.row] 132 vc.campaign = campaigns[indexPath.row]
133 self.navigationController?.pushViewController(vc, animated: true) 133 self.navigationController?.pushViewController(vc, animated: true)
134 134
135 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 135 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
136 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 136 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
137 - } 137 + // }
138 } 138 }
139 } 139 }
140 } 140 }
...@@ -166,9 +166,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -166,9 +166,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
166 166
167 self.navigationController?.pushViewController(vc, animated: true) 167 self.navigationController?.pushViewController(vc, animated: true)
168 168
169 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 169 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
170 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 170 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
171 - } 171 + // }
172 172
173 break; 173 break;
174 } 174 }
...@@ -231,9 +231,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -231,9 +231,9 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
231 vc.params = params 231 vc.params = params
232 self.navigationController?.pushViewController(vc, animated: true) 232 self.navigationController?.pushViewController(vc, animated: true)
233 233
234 - if let sessionUuid = campaigns[indexPath.row].session_uuid { 234 + // if let sessionUuid = campaigns[indexPath.row].session_uuid {
235 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 235 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
236 - } 236 + // }
237 } 237 }
238 } 238 }
239 239
......
...@@ -4921,9 +4921,9 @@ public class swiftApi { ...@@ -4921,9 +4921,9 @@ public class swiftApi {
4921 vc.campaign = campaign 4921 vc.campaign = campaign
4922 controller.navigationController?.pushViewController(vc, animated: true) 4922 controller.navigationController?.pushViewController(vc, animated: true)
4923 4923
4924 - if let sessionUuid = campaign.session_uuid { 4924 + // if let sessionUuid = campaign.session_uuid {
4925 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 4925 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
4926 - } 4926 + // }
4927 4927
4928 break; 4928 break;
4929 } 4929 }
...@@ -4938,9 +4938,9 @@ public class swiftApi { ...@@ -4938,9 +4938,9 @@ public class swiftApi {
4938 vc.params = swiftApi().constructCampaignParams(campaign) 4938 vc.params = swiftApi().constructCampaignParams(campaign)
4939 controller.navigationController?.pushViewController(vc, animated: true) 4939 controller.navigationController?.pushViewController(vc, animated: true)
4940 4940
4941 - if let sessionUuid = campaign.session_uuid { 4941 + // if let sessionUuid = campaign.session_uuid {
4942 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 4942 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
4943 - } 4943 + // }
4944 } 4944 }
4945 4945
4946 func getSingleCampaignAsyncRequest(sessionUuid: String) { 4946 func getSingleCampaignAsyncRequest(sessionUuid: String) {
...@@ -4983,9 +4983,9 @@ public class swiftApi { ...@@ -4983,9 +4983,9 @@ public class swiftApi {
4983 vc.params = swiftApi().constructCcmsParams(loyaltyCampaign, ccms) 4983 vc.params = swiftApi().constructCcmsParams(loyaltyCampaign, ccms)
4984 controller.navigationController?.pushViewController(vc, animated: true) 4984 controller.navigationController?.pushViewController(vc, animated: true)
4985 4985
4986 - if let sessionUuid = loyaltyCampaign.session_uuid { 4986 + // if let sessionUuid = loyaltyCampaign.session_uuid {
4987 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 4987 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
4988 - } 4988 + // }
4989 break; 4989 break;
4990 4990
4991 } else if (isTelco && (loyaltyCampaign.session_uuid == ccms._loyaltyCampaignId)) { 4991 } else if (isTelco && (loyaltyCampaign.session_uuid == ccms._loyaltyCampaignId)) {
...@@ -4996,9 +4996,9 @@ public class swiftApi { ...@@ -4996,9 +4996,9 @@ public class swiftApi {
4996 vc.campaign = loyaltyCampaign 4996 vc.campaign = loyaltyCampaign
4997 controller.navigationController?.pushViewController(vc, animated: true) 4997 controller.navigationController?.pushViewController(vc, animated: true)
4998 4998
4999 - if let sessionUuid = loyaltyCampaign.session_uuid { 4999 + // if let sessionUuid = loyaltyCampaign.session_uuid {
5000 - getSingleCampaignAsyncRequest(sessionUuid: sessionUuid) 5000 + // getSingleCampaignAsyncRequest(sessionUuid: sessionUuid)
5001 - } 5001 + // }
5002 break; 5002 break;
5003 5003
5004 } 5004 }
......