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-28 11:57:00 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82881eefb44cb34b7743e95a0a944dc135855cf1
82881eef
1 parent
44222a96
redesign feedback 2 part 2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
38 additions
and
16 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/ActiveCodeTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/AnalysisHeaderMessageViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/AnalysisItemViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/HistoryViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
SwiftWarplyFramework/SwiftWarplyFramework/SharingHistoryViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
82881ee
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
82881ee
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
82881ee
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/ActiveCodeTableViewCell.swift
View file @
82881ee
...
...
@@ -55,8 +55,8 @@ import UIKit
self
.
layer
.
shadowRadius
=
1.0
activeCodeView
.
layer
.
cornerRadius
=
16.5
activeCodeView
.
layer
.
borderWidth
=
1
activeCodeView
.
layer
.
borderColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
.
cgColor
//
activeCodeView.layer.borderWidth = 1
//
activeCodeView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
// activeCodeView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.16).cgColor
// activeCodeView.layer.shadowOffset = CGSize(width: 0.0, height: 0.0)
// activeCodeView.layer.shadowOpacity = 1.0
...
...
SwiftWarplyFramework/SwiftWarplyFramework/AnalysisHeaderMessageViewCell.swift
View file @
82881ee
...
...
@@ -34,14 +34,14 @@ class AnalysisHeaderMessageViewCell: UITableViewCell {
// message
messageLabel
.
textColor
=
UIColor
(
rgb
:
0x212121
)
messageLabelView
.
layer
.
borderWidth
=
1.0
messageLabelView
.
layer
.
borderColor
=
UIColor
(
rgb
:
0xE6E6E6
)
.
cgColor
//
messageLabelView.layer.borderWidth = 1.0
//
messageLabelView.layer.borderColor = UIColor(rgb: 0xE6E6E6).cgColor
messageLabelView
.
layer
.
cornerRadius
=
16.5
messageLabelView
.
backgroundColor
=
.
white
// messageLabel.text = "Μέχρι τώρα έχεις κερδίσει " + totalCouponDiscountString + "€ σε προσφορές από " + String(loyaltyBadge._couponCount) + " κουπόνια!"
}
}
extension
AnalysisHeaderMessageViewCell
{
...
...
SwiftWarplyFramework/SwiftWarplyFramework/AnalysisItemViewCell.swift
View file @
82881ee
...
...
@@ -47,7 +47,7 @@ class AnalysisItemViewCell: UITableViewCell {
priceLabel
.
textColor
=
UIColor
(
rgb
:
0x212121
)
// subtitle
subtitleLabel
.
textColor
=
UIColor
(
rgb
:
0x
9D9D9C
)
subtitleLabel
.
textColor
=
UIColor
(
rgb
:
0x
212121
)
}
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/HistoryViewController.swift
View file @
82881ee
...
...
@@ -23,6 +23,12 @@ class HistoryViewController: AnalysisChildViewController {
self
.
tableView
.
delegate
=
self
self
.
tableView
.
dataSource
=
self
// Add shadow
self
.
tableView
.
layer
.
shadowColor
=
UIColor
(
red
:
0.00
,
green
:
0.00
,
blue
:
0.00
,
alpha
:
0.2
)
.
cgColor
self
.
tableView
.
layer
.
shadowOffset
=
CGSize
(
width
:
0.0
,
height
:
1.0
)
self
.
tableView
.
layer
.
shadowOpacity
=
1.0
self
.
tableView
.
layer
.
shadowRadius
=
1.0
self
.
refreshControl
=
UIRefreshControl
()
self
.
refreshControl
?
.
addTarget
(
self
,
action
:
#selector(
handleRefresh(_:)
)
,
for
:
.
valueChanged
)
...
...
@@ -159,7 +165,8 @@ class HistoryViewController: AnalysisChildViewController {
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
tableView
.
frame
.
width
,
height
:
50
))
let
viewBorder
=
UIView
(
frame
:
CGRect
(
x
:
10
,
y
:
0
,
width
:
view
.
frame
.
width
-
20
,
height
:
view
.
frame
.
height
))
viewBorder
.
backgroundColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
viewBorder
.
backgroundColor
=
.
white
// viewBorder.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
viewBorder
.
layer
.
cornerRadius
=
16.5
viewBorder
.
layer
.
maskedCorners
=
[
.
layerMinXMinYCorner
,
.
layerMaxXMinYCorner
]
// Top left, bottom right corner radius
...
...
@@ -175,6 +182,12 @@ class HistoryViewController: AnalysisChildViewController {
titleLabel
.
textColor
=
UIColor
(
red
:
0.13
,
green
:
0.13
,
blue
:
0.13
,
alpha
:
1.00
)
titleLabel
.
text
=
"Αναλυτικά"
// Add shadow
// view.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
// view.layer.shadowOffset = CGSize(width: 0.0, height: -1.0)
// view.layer.shadowOpacity = 1.0
// view.layer.shadowRadius = 1.0
view
.
addSubview
(
viewBorder
)
viewBorder
.
addSubview
(
viewInner
)
viewInner
.
addSubview
(
titleLabel
)
...
...
@@ -220,7 +233,8 @@ class HistoryViewController: AnalysisChildViewController {
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
tableView
.
frame
.
width
,
height
:
30
))
let
viewBorder
=
UIView
(
frame
:
CGRect
(
x
:
10
,
y
:
0
,
width
:
view
.
frame
.
width
-
20
,
height
:
view
.
frame
.
height
))
viewBorder
.
backgroundColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
viewBorder
.
backgroundColor
=
.
white
// viewBorder.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
viewBorder
.
layer
.
cornerRadius
=
16.5
viewBorder
.
layer
.
maskedCorners
=
[
.
layerMinXMaxYCorner
,
.
layerMaxXMaxYCorner
]
// bottom left, bottom right corner radius
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
82881ee
This diff is collapsed. Click to expand it.
SwiftWarplyFramework/SwiftWarplyFramework/SharingHistoryViewController.swift
View file @
82881ee
...
...
@@ -25,6 +25,12 @@ class SharingHistoryViewController: AnalysisChildViewController {
self
.
tableView
.
delegate
=
self
self
.
tableView
.
dataSource
=
self
// Add shadow
self
.
tableView
.
layer
.
shadowColor
=
UIColor
(
red
:
0.00
,
green
:
0.00
,
blue
:
0.00
,
alpha
:
0.2
)
.
cgColor
self
.
tableView
.
layer
.
shadowOffset
=
CGSize
(
width
:
0.0
,
height
:
1.0
)
self
.
tableView
.
layer
.
shadowOpacity
=
1.0
self
.
tableView
.
layer
.
shadowRadius
=
1.0
self
.
refreshControl
=
UIRefreshControl
()
self
.
refreshControl
?
.
addTarget
(
self
,
action
:
#selector(
handleRefresh(_:)
)
,
for
:
.
valueChanged
)
...
...
@@ -153,7 +159,8 @@ class SharingHistoryViewController: AnalysisChildViewController {
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
tableView
.
frame
.
width
,
height
:
50
))
let
viewBorder
=
UIView
(
frame
:
CGRect
(
x
:
10
,
y
:
0
,
width
:
view
.
frame
.
width
-
20
,
height
:
view
.
frame
.
height
))
viewBorder
.
backgroundColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
viewBorder
.
backgroundColor
=
.
white
// viewBorder.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
viewBorder
.
layer
.
cornerRadius
=
16.5
viewBorder
.
layer
.
maskedCorners
=
[
.
layerMinXMinYCorner
,
.
layerMaxXMinYCorner
]
// Top left, bottom right corner radius
...
...
@@ -214,7 +221,8 @@ class SharingHistoryViewController: AnalysisChildViewController {
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
tableView
.
frame
.
width
,
height
:
30
))
let
viewBorder
=
UIView
(
frame
:
CGRect
(
x
:
10
,
y
:
0
,
width
:
view
.
frame
.
width
-
20
,
height
:
view
.
frame
.
height
))
viewBorder
.
backgroundColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
viewBorder
.
backgroundColor
=
.
white
// viewBorder.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
viewBorder
.
layer
.
cornerRadius
=
16.5
viewBorder
.
layer
.
maskedCorners
=
[
.
layerMinXMaxYCorner
,
.
layerMaxXMaxYCorner
]
// bottom left, bottom right corner radius
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
82881ee
...
...
@@ -178,8 +178,8 @@ import SwiftEventBus
questionnaireButton
.
layer
.
borderColor
=
UIColor
(
red
:
0.05
,
green
:
0.65
,
blue
:
0.00
,
alpha
:
1.00
)
.
cgColor
dfyEarnBannerInnerView
.
layer
.
cornerRadius
=
16.5
dfyEarnBannerInnerView
.
layer
.
borderWidth
=
1
dfyEarnBannerInnerView
.
layer
.
borderColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
.
cgColor
//
dfyEarnBannerInnerView.layer.borderWidth = 1
//
dfyEarnBannerInnerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
// Add shadow
dfyEarnBannerView
.
layer
.
shadowColor
=
UIColor
(
red
:
0.00
,
green
:
0.00
,
blue
:
0.00
,
alpha
:
0.2
)
.
cgColor
...
...
@@ -242,8 +242,8 @@ import SwiftEventBus
}
couponEarnInnerView
.
layer
.
cornerRadius
=
16.5
couponEarnInnerView
.
layer
.
borderWidth
=
1
couponEarnInnerView
.
layer
.
borderColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
.
cgColor
//
couponEarnInnerView.layer.borderWidth = 1
//
couponEarnInnerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
// Add shadow
couponEarnView
.
layer
.
shadowColor
=
UIColor
(
red
:
0.00
,
green
:
0.00
,
blue
:
0.00
,
alpha
:
0.2
)
.
cgColor
...
...
Please
register
or
login
to post a comment