|
@ -181,12 +181,18 @@ class HomeViewController: UIViewController, UICollectionViewDelegateFlowLayout { |
|
|
NotificationCenter.default.addObserver(self, selector: #selector(self.showSideMenuSupport), name: self.getSupportNotificationName(), object: nil) |
|
|
NotificationCenter.default.addObserver(self, selector: #selector(self.showSideMenuSupport), name: self.getSupportNotificationName(), object: nil) |
|
|
|
|
|
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(self.showSideMenuSetting), name: self.getSettingNotificationName(), object: nil) |
|
|
NotificationCenter.default.addObserver(self, selector: #selector(self.showSideMenuSetting), name: self.getSettingNotificationName(), object: nil) |
|
|
|
|
|
|
|
|
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(self.showTransactionStatement), name: self.getTransactionHistoryNotificationName(), object: nil) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private func getAboutMeNotificationName() -> Notification.Name { |
|
|
private func getAboutMeNotificationName() -> Notification.Name { |
|
|
return Notification.Name.init(SideMenuNavigationNotifications.aboutGme) |
|
|
return Notification.Name.init(SideMenuNavigationNotifications.aboutGme) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private func getTransactionHistoryNotificationName() -> Notification.Name { |
|
|
|
|
|
return Notification.Name.init(SideMenuNavigationNotifications.transactionHistory) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
private func getSupportNotificationName() -> Notification.Name { |
|
|
private func getSupportNotificationName() -> Notification.Name { |
|
|
return Notification.Name.init(SideMenuNavigationNotifications.support) |
|
|
return Notification.Name.init(SideMenuNavigationNotifications.support) |
|
|
} |
|
|
} |
|
@ -306,9 +312,9 @@ class HomeViewController: UIViewController, UICollectionViewDelegateFlowLayout { |
|
|
center.addObserver(self, selector: #selector(self.showSendMoney), name: self.getSendMoneyNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showSendMoney), name: self.getSendMoneyNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showMobileRecharge), name: self.getMobileRechargeNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showMobileRecharge), name: self.getMobileRechargeNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showTodaysRate), name: self.getTodaysRateNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showTodaysRate), name: self.getTodaysRateNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showTrackYourTransfer), name: self.getTrackYourTransferNotificationName(), object: nil) |
|
|
|
|
|
center.addObserver(self, selector: #selector(self.showTransactionStatement), name: self.getTransactionStatementNotificationName(), object: nil) |
|
|
|
|
|
center.addObserver(self, selector: #selector(self.showResendMoney), name: self.getWalletToWalletNotificationName(), object: nil) |
|
|
|
|
|
|
|
|
center.addObserver(self, selector: #selector(self.showResendMoney), name: self.getTrackYourTransferNotificationName(), object: nil) |
|
|
|
|
|
center.addObserver(self, selector: #selector(self.showTrackYourTransfer), name: self.getTransactionStatementNotificationName(), object: nil) |
|
|
|
|
|
// center.addObserver(self, selector: #selector(self.showResendMoney), name: self.getWalletToWalletNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.setupHeight(sender:)), name: self.getCollectionHeightNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.setupHeight(sender:)), name: self.getCollectionHeightNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showUnVerifiedMessage), name: self.getMainControllerNotificationName(), object: nil) |
|
|
center.addObserver(self, selector: #selector(self.showUnVerifiedMessage), name: self.getMainControllerNotificationName(), object: nil) |
|
|
|
|
|
|
|
|