Showing
4 changed files
with
16 additions
and
2 deletions
... | @@ -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>1</integer> | 10 | + <integer>0</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>0</integer> | 10 | + <integer>1</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
... | @@ -2066,6 +2066,20 @@ public class swiftApi { | ... | @@ -2066,6 +2066,20 @@ public class swiftApi { |
2066 | } | 2066 | } |
2067 | } | 2067 | } |
2068 | } | 2068 | } |
2069 | + | ||
2070 | + | ||
2071 | + public func openPacing(_ controller: UIViewController) -> Void { | ||
2072 | + for item in GlobalVariables.campaigns { | ||
2073 | + if (item.offer_category == "pacing") { | ||
2074 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | ||
2075 | + let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! SwiftWarplyFramework.CampaignViewController | ||
2076 | + let url = swiftApi().constructCampaignUrl(item) | ||
2077 | + vc.campaignUrl = url | ||
2078 | + controller.navigationController?.pushViewController(vc, animated: true) | ||
2079 | + break; | ||
2080 | + } | ||
2081 | + } | ||
2082 | + } | ||
2069 | 2083 | ||
2070 | public func setCampaignList(_ campaigns: Array<CampaignItemModel>) -> Void { | 2084 | public func setCampaignList(_ campaigns: Array<CampaignItemModel>) -> Void { |
2071 | let userTag = self.getUserTag() | 2085 | let userTag = self.getUserTag() | ... | ... |
-
Please register or login to post a comment