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
2025-04-04 16:04:43 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dff2cf72dcc6accded81c90ca62f8a2b8fb2f0e8
dff2cf72
1 parent
4b1b2959
wallet color changes
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
44 additions
and
17 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/Contents.json
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/wallet_plus_green_dark 1.png
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/wallet_plus_green_dark 2.png
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/wallet_plus_green_dark.png
SwiftWarplyFramework/SwiftWarplyFramework/WalletActiveCouponCollectionViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletActiveCouponsScrollTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletQuestionnaireBannerTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletVouchersBannerTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
dff2cf7
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/Contents.json
0 → 100644
View file @
dff2cf7
{
"images"
:
[
{
"filename"
:
"wallet_plus_green_dark.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"wallet_plus_green_dark 1.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"wallet_plus_green_dark 2.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/wallet_plus_green_dark 1.png
0 → 100644
View file @
dff2cf7
321 Bytes
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/wallet_plus_green_dark 2.png
0 → 100644
View file @
dff2cf7
321 Bytes
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/wallet_plus_green_dark.imageset/wallet_plus_green_dark.png
0 → 100644
View file @
dff2cf7
321 Bytes
SwiftWarplyFramework/SwiftWarplyFramework/WalletActiveCouponCollectionViewCell.swift
View file @
dff2cf7
...
...
@@ -32,10 +32,10 @@ import UIKit
badgeView
.
layer
.
cornerRadius
=
16.0
badgeCountView
.
layer
.
cornerRadius
=
4.0
badgeCountView
.
backgroundColor
=
UIColor
(
red
:
0.92
,
green
:
0.75
,
blue
:
0.41
,
alpha
:
1.00
)
//
badgeCountView.backgroundColor = UIColor(rgb: 0xE20074)
//
badgeCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
badgeCountView
.
backgroundColor
=
UIColor
(
rgb
:
0xE20074
)
//
badgeCountLabel.textColor = .white
badgeCountLabel
.
textColor
=
.
white
}
func
configureCell
(
badgeId
:
String
,
badgeCount
:
Int
)
{
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletActiveCouponsScrollTableViewCell.swift
View file @
dff2cf7
...
...
@@ -39,14 +39,14 @@ import SwiftEventBus
dotLeftWidth
.
constant
=
12
dotLeftHeight
.
constant
=
12
dotLeft
.
layer
.
cornerRadius
=
6
dotLeft
.
backgroundColor
=
UIColor
(
rgb
:
0x00A5E3
)
//
dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
//
dotLeft.backgroundColor = UIColor(rgb: 0x00A5E3)
dotLeft
.
backgroundColor
=
UIColor
(
rgb
:
0xE20074
)
dotRightWidth
.
constant
=
8
dotRightHeight
.
constant
=
8
dotRight
.
layer
.
cornerRadius
=
4
dotRight
.
backgroundColor
=
UIColor
(
rgb
:
0x00A5E3
)
//
dotRight.backgroundColor = UIColor(rgb: 0x767676)
//
dotRight.backgroundColor = UIColor(rgb: 0x00A5E3)
dotRight
.
backgroundColor
=
UIColor
(
rgb
:
0x767676
)
}
...
...
@@ -117,23 +117,23 @@ extension WalletActiveCouponsScrollTableViewCell: UIScrollViewDelegate {
dotLeftWidth
.
constant
=
8
dotLeftHeight
.
constant
=
8
dotLeft
.
layer
.
cornerRadius
=
4
//
dotLeft.backgroundColor = UIColor(rgb: 0x767676)
dotLeft
.
backgroundColor
=
UIColor
(
rgb
:
0x767676
)
dotRightWidth
.
constant
=
12
dotRightHeight
.
constant
=
12
dotRight
.
layer
.
cornerRadius
=
6
//
dotRight.backgroundColor = UIColor(rgb: 0xE20074)
dotRight
.
backgroundColor
=
UIColor
(
rgb
:
0xE20074
)
}
else
{
dotLeftWidth
.
constant
=
12
dotLeftHeight
.
constant
=
12
dotLeft
.
layer
.
cornerRadius
=
6
//
dotLeft.backgroundColor = UIColor(rgb: 0xE20074)
dotLeft
.
backgroundColor
=
UIColor
(
rgb
:
0xE20074
)
dotRightWidth
.
constant
=
8
dotRightHeight
.
constant
=
8
dotRight
.
layer
.
cornerRadius
=
4
//
dotRight.backgroundColor = UIColor(rgb: 0x767676)
dotRight
.
backgroundColor
=
UIColor
(
rgb
:
0x767676
)
}
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletQuestionnaireBannerTableViewCell.swift
View file @
dff2cf7
...
...
@@ -27,12 +27,14 @@ import UIKit
bannerView
.
layer
.
cornerRadius
=
12.0
bannerView
.
layer
.
borderWidth
=
1
bannerView
.
layer
.
borderColor
=
UIColor
(
red
:
0.05
,
green
:
0.65
,
blue
:
0.00
,
alpha
:
1.00
)
.
cgColor
bannerView
.
layer
.
borderColor
=
UIColor
(
rgb
:
0x0E8004
)
.
cgColor
// bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
// bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
bannerCenteredView
.
layer
.
cornerRadius
=
12.0
bannerCenteredView
.
layer
.
borderWidth
=
1
bannerCenteredView
.
layer
.
borderColor
=
UIColor
(
red
:
0.05
,
green
:
0.65
,
blue
:
0.00
,
alpha
:
1.00
)
.
cgColor
bannerCenteredView
.
layer
.
borderColor
=
UIColor
(
rgb
:
0x0E8004
)
.
cgColor
// bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
// Add shadow
// bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
...
...
@@ -40,12 +42,14 @@ import UIKit
// bannerView.layer.shadowOpacity = 1.0
// bannerView.layer.shadowRadius = 1.0
bannerIconImage
.
image
=
UIImage
(
named
:
"wallet_plus"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
bannerCenteredIconImage
.
image
=
UIImage
(
named
:
"wallet_plus"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
bannerIconImage
.
image
=
UIImage
(
named
:
"wallet_plus
_green_dark
"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
bannerCenteredIconImage
.
image
=
UIImage
(
named
:
"wallet_plus
_green_dark
"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
// bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerLabel
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
12
)
bannerLabel
.
textColor
=
UIColor
(
rgb
:
0x0E8004
)
bannerCenteredLabel
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
12
)
bannerCenteredLabel
.
textColor
=
UIColor
(
rgb
:
0x0E8004
)
}
public
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletVouchersBannerTableViewCell.swift
View file @
dff2cf7
...
...
@@ -41,8 +41,8 @@ import UIKit
// voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης"
voucherCountView
.
layer
.
cornerRadius
=
4.0
voucherCountView
.
backgroundColor
=
UIColor
(
red
:
0.92
,
green
:
0.75
,
blue
:
0.41
,
alpha
:
1.00
)
//
voucherCountView.backgroundColor = UIColor(rgb: 0xE20074)
//
voucherCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
voucherCountView
.
backgroundColor
=
UIColor
(
rgb
:
0xE20074
)
}
public
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
...
...
Please
register
or
login
to post a comment