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-20 19:35:00 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
375600a498130dc49c75aec241c6f9c00c8cb845
375600a4
1 parent
d3a6088a
add setUserTag func
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
375600a
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
375600a
...
...
@@ -11,6 +11,7 @@ import SwiftUI
public
struct
GlobalVariables
{
static
var
campaigns
:
Array
<
swiftApi
.
CampaignItemModel
>
=
[]
static
var
customerState
:
swiftApi
.
CustomerStateModel
?
static
var
userTag
:
String
=
""
}
public
class
swiftApi
{
...
...
@@ -20,7 +21,11 @@ public class swiftApi {
}
public
func
getUserTag
()
->
String
{
return
"1"
return
GlobalVariables
.
userTag
}
public
func
setUserTag
(
_
newUserTag
:
String
)
->
Void
{
GlobalVariables
.
userTag
=
newUserTag
}
public
class
DFY
{
...
...
Please
register
or
login
to post a comment