Showing
2 changed files
with
2 additions
and
0 deletions
| ... | @@ -103,6 +103,7 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -103,6 +103,7 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ | 
| 103 | } else { | 103 | } else { | 
| 104 | url = swiftApi().constructCampaignUrl(campaigns[indexPath.row]) | 104 | url = swiftApi().constructCampaignUrl(campaigns[indexPath.row]) | 
| 105 | } | 105 | } | 
| 106 | + print("CampaignUrl url onclick: " + url) | ||
| 106 | vc.campaignUrl = url | 107 | vc.campaignUrl = url | 
| 107 | self.navigationController?.pushViewController(vc, animated: true) | 108 | self.navigationController?.pushViewController(vc, animated: true) | 
| 108 | 109 | ... | ... | 
| ... | @@ -90,6 +90,7 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -90,6 +90,7 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{ | 
| 90 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 90 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 
| 91 | let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! SwiftWarplyFramework.CampaignViewController | 91 | let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! SwiftWarplyFramework.CampaignViewController | 
| 92 | let url = swiftApi().constructCampaignUrl(campaigns[indexPath.row]) | 92 | let url = swiftApi().constructCampaignUrl(campaigns[indexPath.row]) | 
| 93 | + print("CampaignUrl url onclick: " + url) | ||
| 93 | vc.campaignUrl = url | 94 | vc.campaignUrl = url | 
| 94 | self.navigationController?.pushViewController(vc, animated: true) | 95 | self.navigationController?.pushViewController(vc, animated: true) | 
| 95 | } | 96 | } | ... | ... | 
- 
Please register or login to post a comment