Showing
1 changed file
with
5 additions
and
2 deletions
| ... | @@ -7,6 +7,7 @@ | ... | @@ -7,6 +7,7 @@ |
| 7 | 7 | ||
| 8 | import Foundation | 8 | import Foundation |
| 9 | import UIKit | 9 | import UIKit |
| 10 | +import SwiftEventBus | ||
| 10 | 11 | ||
| 11 | @objc public class WalletViewController: UIViewController { | 12 | @objc public class WalletViewController: UIViewController { |
| 12 | @IBOutlet weak var headerImage: UIImageView! | 13 | @IBOutlet weak var headerImage: UIImageView! |
| ... | @@ -161,8 +162,10 @@ import UIKit | ... | @@ -161,8 +162,10 @@ import UIKit |
| 161 | } | 162 | } |
| 162 | 163 | ||
| 163 | @IBAction func dfyEarnButtonAction(_ sender: Any) { | 164 | @IBAction func dfyEarnButtonAction(_ sender: Any) { |
| 164 | - // TODO: dfyEarnButtonAction | 165 | + // analysis_pressed event |
| 165 | - print("dfyEarnButtonAction Tapped!") | 166 | + let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel() |
| 167 | + dealsAnalysis._isPressed = true | ||
| 168 | + SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis) | ||
| 166 | } | 169 | } |
| 167 | @IBAction func couponEarnButtonAction(_ sender: Any) { | 170 | @IBAction func couponEarnButtonAction(_ sender: Any) { |
| 168 | // TODO: couponEarnButtonAction | 171 | // TODO: couponEarnButtonAction | ... | ... |
-
Please register or login to post a comment