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 17:57:23 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c5f0d09828adac760c3dd6bd47c3bc6a7c75149b
c5f0d098
1 parent
b44a703d
debugging logs at wallet
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
3 deletions
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Info.plist
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
c5f0d09
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
c5f0d09
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
c5f0d09
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
c5f0d09
...
...
@@ -151,6 +151,8 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
}
else
if
(
campaigns
[
indexPath
.
row
]
.
_campaign_type
==
"coupon"
)
{
let
couponsetUuid
=
campaigns
[
indexPath
.
row
]
.
_couponset
// TODO: search if loyalty id exists
if
(
couponsetUuid
!=
""
)
{
let
couponsetsList
=
swiftApi
()
.
getCouponSetList
()
...
...
@@ -160,6 +162,7 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"CouponViewController"
)
as!
SwiftWarplyFramework
.
CouponViewController
vc
.
couponset
=
item
vc
.
campaign
=
campaigns
[
indexPath
.
row
]
// TODO: add ccms
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
break
;
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Info.plist
View file @
c5f0d09
...
...
@@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<dict>
<key>
NSMotionUsageDescription
</key>
<string>
We are using motion usage in order to track your step count.
</string>
<key>
UIAppFonts
</key>
<array>
<string>
pf_square_sans_pro_bold_italic.ttf
</string>
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
c5f0d09
...
...
@@ -69,7 +69,7 @@ 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
!=
""
)
{
if
(
profile
!=
nil
&&
!
(
profile
?
.
_image_url
is
NSNull
)
&&
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
)
...
...
@@ -262,6 +262,8 @@ import SwiftEventBus
dfyLogoImageTopSpace
.
constant
=
0
}
print
(
"======= 1 ======="
)
myPresentsLabel
.
text
=
"Τα δώρα μου"
if
(
coupons
.
count
>
0
)
{
myPresentsLabel
.
isHidden
=
false
...
...
@@ -276,6 +278,8 @@ import SwiftEventBus
}
else
{
emptyView
.
isHidden
=
true
}
print
(
"======= 2 ======="
)
}
public
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
...
...
Please
register
or
login
to post a comment