Showing
8 changed files
with
28 additions
and
7 deletions
No preview for this file type
No preview for this file type
| ... | @@ -10,7 +10,7 @@ import RSBarcodes_Swift | ... | @@ -10,7 +10,7 @@ import RSBarcodes_Swift | 
| 10 | import AVFoundation | 10 | import AVFoundation | 
| 11 | // import SwiftEventBus | 11 | // import SwiftEventBus | 
| 12 | 12 | ||
| 13 | -@objc class CouponBarcodeViewController: UIViewController { | 13 | +@objc public class CouponBarcodeViewController: UIViewController { | 
| 14 | @IBOutlet weak var backgroundImage: UIImageView! | 14 | @IBOutlet weak var backgroundImage: UIImageView! | 
| 15 | @IBOutlet weak var scrollView: UIScrollView! | 15 | @IBOutlet weak var scrollView: UIScrollView! | 
| 16 | @IBOutlet weak var scrollContentView: UIView! | 16 | @IBOutlet weak var scrollContentView: UIView! | ... | ... | 
| ... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ | 
| 8 | import UIKit | 8 | import UIKit | 
| 9 | // import SwiftEventBus | 9 | // import SwiftEventBus | 
| 10 | 10 | ||
| 11 | -@objc class CouponViewController: UIViewController { | 11 | +@objc public class CouponViewController: UIViewController { | 
| 12 | @IBOutlet weak var mainView: UIView! | 12 | @IBOutlet weak var mainView: UIView! | 
| 13 | @IBOutlet weak var backgroundImage: UIImageView! | 13 | @IBOutlet weak var backgroundImage: UIImageView! | 
| 14 | @IBOutlet weak var scrollView: UIScrollView! | 14 | @IBOutlet weak var scrollView: UIScrollView! | ... | ... | 
| ... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ | 
| 8 | import Foundation | 8 | import Foundation | 
| 9 | import UIKit | 9 | import UIKit | 
| 10 | 10 | ||
| 11 | -@objc class CouponsTableViewCell: UITableViewCell { | 11 | +@objc public class CouponsTableViewCell: UITableViewCell { | 
| 12 | @IBOutlet weak var couponBgImage: UIImageView! | 12 | @IBOutlet weak var couponBgImage: UIImageView! | 
| 13 | @IBOutlet weak var couponImage: UIImageView! | 13 | @IBOutlet weak var couponImage: UIImageView! | 
| 14 | @IBOutlet weak var borderView: UIView! | 14 | @IBOutlet weak var borderView: UIView! | ... | ... | 
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ | 
| 7 | 7 | ||
| 8 | import UIKit | 8 | import UIKit | 
| 9 | 9 | ||
| 10 | -class LoyaltyAnalysisViewController: UIViewController { | 10 | +@objc public class LoyaltyAnalysisViewController: UIViewController { | 
| 11 | 11 | ||
| 12 | override func viewDidLoad() { | 12 | override func viewDidLoad() { | 
| 13 | super.viewDidLoad() | 13 | super.viewDidLoad() | ... | ... | 
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ | 
| 7 | 7 | ||
| 8 | import UIKit | 8 | import UIKit | 
| 9 | 9 | ||
| 10 | -class StepsViewController: UIViewController { | 10 | +@objc public class StepsViewController: UIViewController { | 
| 11 | 11 | ||
| 12 | override func viewDidLoad() { | 12 | override func viewDidLoad() { | 
| 13 | super.viewDidLoad() | 13 | super.viewDidLoad() | ... | ... | 
| ... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ | 
| 8 | import Foundation | 8 | import Foundation | 
| 9 | import SwiftUI | 9 | import SwiftUI | 
| 10 | 10 | ||
| 11 | -struct GlobalVariables { | 11 | +public struct GlobalVariables { | 
| 12 | static var campaigns: Array<swiftApi.CampaignItemModel> = [] | 12 | static var campaigns: Array<swiftApi.CampaignItemModel> = [] | 
| 13 | } | 13 | } | 
| 14 | 14 | ||
| ... | @@ -1311,12 +1311,15 @@ public class swiftApi { | ... | @@ -1311,12 +1311,15 @@ public class swiftApi { | 
| 1311 | public class CustomerStateModel { | 1311 | public class CustomerStateModel { | 
| 1312 | private var nonTelco: Bool | 1312 | private var nonTelco: Bool | 
| 1313 | private var acceptedConsent: Bool | 1313 | private var acceptedConsent: Bool | 
| 1314 | + private var guid: String | ||
| 1315 | + private var msisdnList: Array<String> | ||
| 1314 | 1316 | ||
| 1315 | 1317 | ||
| 1316 | public init() { | 1318 | public init() { | 
| 1317 | self.nonTelco = false | 1319 | self.nonTelco = false | 
| 1318 | self.acceptedConsent = false | 1320 | self.acceptedConsent = false | 
| 1319 | - | 1321 | + self.guid = "" | 
| 1322 | + self.msisdnList = [] | ||
| 1320 | } | 1323 | } | 
| 1321 | 1324 | ||
| 1322 | public var _nonTelco: Bool { | 1325 | public var _nonTelco: Bool { | 
| ... | @@ -1336,6 +1339,24 @@ public class swiftApi { | ... | @@ -1336,6 +1339,24 @@ public class swiftApi { | 
| 1336 | self.acceptedConsent = newValue | 1339 | self.acceptedConsent = newValue | 
| 1337 | } | 1340 | } | 
| 1338 | } | 1341 | } | 
| 1342 | + | ||
| 1343 | + public var _guid: String { | ||
| 1344 | + get { // getter | ||
| 1345 | + return self.guid | ||
| 1346 | + } | ||
| 1347 | + set(newValue) { //setter | ||
| 1348 | + self.guid = newValue | ||
| 1349 | + } | ||
| 1350 | + } | ||
| 1351 | + | ||
| 1352 | + public var _msisdnList: Array<String> { | ||
| 1353 | + get { // getter | ||
| 1354 | + return self.msisdnList | ||
| 1355 | + } | ||
| 1356 | + set(newValue) { //setter | ||
| 1357 | + self.msisdnList = newValue | ||
| 1358 | + } | ||
| 1359 | + } | ||
| 1339 | } | 1360 | } | 
| 1340 | 1361 | ||
| 1341 | 1362 | ... | ... | 
- 
Please register or login to post a comment