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-08-11 12:46:01 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
abc148df65e23fb0698537dab12a5dad3011b4e6
abc148df
1 parent
65852719
add getters setters at ProfileModel
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
abc148d
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
abc148d
...
...
@@ -172,7 +172,7 @@ import UIKit
func
getProfileCallback
(
_
profileData
:
swiftApi
.
ProfileModel
?)
->
Void
{
if
(
profileData
!=
nil
)
{
DispatchQueue
.
main
.
async
{
self
.
numbersList
=
profileData
?
.
msisdnList
??
[]
self
.
numbersList
=
profileData
?
.
_
msisdnList
??
[]
print
(
"========= getProfileRequest SUCCESSSS ========="
)
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
View file @
abc148d
...
...
@@ -114,7 +114,7 @@ import UIKit
func
getProfileCallback
(
_
profileData
:
swiftApi
.
ProfileModel
?)
->
Void
{
if
(
profileData
!=
nil
)
{
DispatchQueue
.
main
.
async
{
self
.
numbersList
=
profileData
?
.
msisdnList
??
[]
self
.
numbersList
=
profileData
?
.
_
msisdnList
??
[]
}
}
else
{
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
abc148d
...
...
@@ -69,15 +69,15 @@ import SwiftEventBus
profileImage
.
layer
.
borderWidth
=
1
profileImage
.
layer
.
borderColor
=
UIColor
(
red
:
0.13
,
green
:
0.66
,
blue
:
0.71
,
alpha
:
1.00
)
.
cgColor
if
(
profile
!=
nil
&&
profile
?
.
image_url
!=
nil
&&
profile
?
.
image_url
!=
""
)
{
profileImage
.
load
(
link
:
profile
?
.
image_url
??
""
,
placeholder
:
UIImage
(),
cache
:
URLCache
())
if
(
profile
!=
nil
&&
profile
?
.
_image_url
!=
nil
&&
profile
?
.
_
image_url
!=
""
)
{
profileImage
.
load
(
link
:
profile
?
.
_
image_url
??
""
,
placeholder
:
UIImage
(),
cache
:
URLCache
())
}
else
{
profileImage
.
image
=
UIImage
(
named
:
"default_profile_image"
,
in
:
Bundle
(
for
:
MyEmptyClass
.
self
),
compatibleWith
:
nil
)
}
print
(
"Profile Name: "
+
(
profile
?
.
firstname
??
""
)
+
" "
+
(
profile
?
.
lastname
??
""
))
print
(
"Profile Name: "
+
(
profile
?
.
_firstname
??
""
)
+
" "
+
(
profile
?
.
_
lastname
??
""
))
profileNameLabel
.
text
=
(
profile
?
.
firstname
??
""
)
+
" "
+
(
profile
?
.
lastname
??
""
)
profileNameLabel
.
text
=
(
profile
?
.
_firstname
??
""
)
+
" "
+
(
profile
?
.
_
lastname
??
""
)
let
userTag
=
swiftApi
()
.
getUserTag
()
print
(
"User tag: "
+
userTag
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
abc148d
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment