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
2023-04-26 10:04:25 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9559395ad90d5ae0c7f5b3ed25bd28afd01dd390
9559395a
1 parent
49027d08
redesign WalletViewController part2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponsTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
9559395
This diff is collapsed. Click to expand it.
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponsTableViewCell.swift
View file @
9559395
...
...
@@ -21,11 +21,11 @@ import UIKit
super
.
awakeFromNib
()
// Initialization code
couponBgImage
.
image
=
UIImage
(
named
:
"coupon_bg"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
couponImage
.
image
=
UIImage
(
named
:
"coupon_market"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
couponBgImage
.
image
=
UIImage
(
named
:
"coupon_bg
_2
"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
couponImage
.
image
=
UIImage
(
named
:
"coupon_market
_2
"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
borderView
.
addDashedBorderVertical
(
color
:
UIColor
(
red
:
0.
44
,
green
:
0.44
,
blue
:
0.44
,
alpha
:
1.00
),
width
:
1.0
,
height
:
110.0
)
borderView
.
addDashedBorderVertical
(
color
:
UIColor
(
red
:
0.
62
,
green
:
0.62
,
blue
:
0.61
,
alpha
:
1.00
),
width
:
1.0
,
height
:
110.0
)
}
public
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
9559395
...
...
@@ -792,7 +792,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
}
else
if
(
indexPath
.
section
==
1
)
{
if
(
self
.
unifiedCoupons
.
count
>
0
)
{
return
1
2
0.0
+
8.0
return
1
3
0.0
+
8.0
}
else
{
return
0.0
}
...
...
@@ -826,7 +826,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
let
titleLabel
=
UILabel
(
frame
:
CGRect
(
x
:
20
,
y
:
40
,
width
:
view
.
frame
.
width
-
40
,
height
:
20
))
titleLabel
.
font
=
UIFont
(
name
:
"BTCosmo-Bold"
,
size
:
20
)
titleLabel
.
textColor
=
UIColor
(
red
:
0.13
,
green
:
0.13
,
blue
:
0.13
,
alpha
:
1.00
)
titleLabel
.
text
=
"
COSMOTE
SuperMarket Deals"
titleLabel
.
text
=
"SuperMarket Deals"
view
.
addSubview
(
titleLabel
)
return
view
...
...
Please
register
or
login
to post a comment