Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-06-16 10:38:09 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
32cccfaca8e92004aafbc03e254c0abd52c204f9
32cccfac
1 parent
770c1825
privacy fixes, CustomerStateModel additions
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
7 deletions
.DS_Store
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponsTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyAnalysisViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/StepsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
.DS_Store
View file @
32cccfa
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
32cccfa
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
32cccfa
...
...
@@ -10,7 +10,7 @@ import RSBarcodes_Swift
import
AVFoundation
// import SwiftEventBus
@objc
class
CouponBarcodeViewController
:
UIViewController
{
@objc
public
class
CouponBarcodeViewController
:
UIViewController
{
@IBOutlet
weak
var
backgroundImage
:
UIImageView
!
@IBOutlet
weak
var
scrollView
:
UIScrollView
!
@IBOutlet
weak
var
scrollContentView
:
UIView
!
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
View file @
32cccfa
...
...
@@ -8,7 +8,7 @@
import
UIKit
// import SwiftEventBus
@objc
class
CouponViewController
:
UIViewController
{
@objc
public
class
CouponViewController
:
UIViewController
{
@IBOutlet
weak
var
mainView
:
UIView
!
@IBOutlet
weak
var
backgroundImage
:
UIImageView
!
@IBOutlet
weak
var
scrollView
:
UIScrollView
!
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponsTableViewCell.swift
View file @
32cccfa
...
...
@@ -8,7 +8,7 @@
import
Foundation
import
UIKit
@objc
class
CouponsTableViewCell
:
UITableViewCell
{
@objc
public
class
CouponsTableViewCell
:
UITableViewCell
{
@IBOutlet
weak
var
couponBgImage
:
UIImageView
!
@IBOutlet
weak
var
couponImage
:
UIImageView
!
@IBOutlet
weak
var
borderView
:
UIView
!
...
...
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyAnalysisViewController.swift
View file @
32cccfa
...
...
@@ -7,7 +7,7 @@
import
UIKit
class
LoyaltyAnalysisViewController
:
UIViewController
{
@objc
public
class
LoyaltyAnalysisViewController
:
UIViewController
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
SwiftWarplyFramework/SwiftWarplyFramework/StepsViewController.swift
View file @
32cccfa
...
...
@@ -7,7 +7,7 @@
import
UIKit
class
StepsViewController
:
UIViewController
{
@objc
public
class
StepsViewController
:
UIViewController
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
32cccfa
...
...
@@ -8,7 +8,7 @@
import
Foundation
import
SwiftUI
struct
GlobalVariables
{
public
struct
GlobalVariables
{
static
var
campaigns
:
Array
<
swiftApi
.
CampaignItemModel
>
=
[]
}
...
...
@@ -1311,12 +1311,15 @@ public class swiftApi {
public
class
CustomerStateModel
{
private
var
nonTelco
:
Bool
private
var
acceptedConsent
:
Bool
private
var
guid
:
String
private
var
msisdnList
:
Array
<
String
>
public
init
()
{
self
.
nonTelco
=
false
self
.
acceptedConsent
=
false
self
.
guid
=
""
self
.
msisdnList
=
[]
}
public
var
_nonTelco
:
Bool
{
...
...
@@ -1336,6 +1339,24 @@ public class swiftApi {
self
.
acceptedConsent
=
newValue
}
}
public
var
_guid
:
String
{
get
{
// getter
return
self
.
guid
}
set
(
newValue
)
{
//setter
self
.
guid
=
newValue
}
}
public
var
_msisdnList
:
Array
<
String
>
{
get
{
// getter
return
self
.
msisdnList
}
set
(
newValue
)
{
//setter
self
.
msisdnList
=
newValue
}
}
}
...
...
Please
register
or
login
to post a comment