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
Dimitris Togias
2022-09-14 15:55:13 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
56a37c1dd95ca72dda4acff45e3f248ce5249267
56a37c1d
1 parent
20cf0582
add missing styles
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CSMButton.swift
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.xib
SwiftWarplyFramework/SwiftWarplyFramework/CSMButton.swift
View file @
56a37c1
...
...
@@ -28,9 +28,9 @@ class CSMButton: UIButton {
private
extension
CSMButton
{
func
configure
()
{
setImage
(
UIImage
(
named
:
"directions"
),
for
:
.
normal
)
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
6
)
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
8
)
setTitleColor
(
.
white
,
for
:
.
normal
)
backgroundColor
=
UIColor
(
r
ed
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
backgroundColor
=
UIColor
(
r
gb
:
0x79BF14
)
layer
.
cornerRadius
=
12.0
imageEdgeInsets
=
UIEdgeInsets
(
top
:
0.0
,
left
:
0.0
,
bottom
:
0.0
,
right
:
5.0
);
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.swift
View file @
56a37c1
...
...
@@ -44,20 +44,20 @@ class MapsViewController: UIViewController, MKMapViewDelegate {
mapView
.
delegate
=
self
mapView
.
centerToLocation
(
initialLocation
)
//titleView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16
)
//titleView.setTitleColor(.white, for: .normal
)
titleView
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Bold"
,
size
:
19
)
titleView
.
textColor
=
UIColor
(
rgb
:
0x757575
)
//nameView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16
)
//nameView.setTitleColor(.white, for: .normal
)
nameView
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
18
)
nameView
.
textColor
=
UIColor
(
rgb
:
0x415564
)
//hoursView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16
)
//hoursView.setTitleColor(.white, for: .normal
)
hoursView
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Regular"
,
size
:
18
)
hoursView
.
textColor
=
UIColor
(
rgb
:
0xAEAEAE
)
//phoneView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16
)
//phoneView.setTitleColor(.white, for: .normal
)
hoursView
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
18
)
hoursView
.
textColor
=
UIColor
(
rgb
:
0x415564
)
//addressView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16
)
//addressView.setTitleColor(.white, for: .normal
)
addressView
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
18
)
addressView
.
textColor
=
UIColor
(
rgb
:
0x415564
)
//directionsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
directionsButton
.
setTitle
(
"Οδηγίες"
,
for
:
.
normal
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.xib
View file @
56a37c1
...
...
@@ -39,7 +39,7 @@
<constraints>
<constraint
firstAttribute=
"height"
constant=
"30"
id=
"Gf2-VN-pNV"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"boldSystem"
pointSize=
"1
6
"
/>
<fontDescription
key=
"fontDescription"
type=
"boldSystem"
pointSize=
"1
9
"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
...
...
@@ -69,8 +69,8 @@
</constraints>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
text=
"Intersport Χαλανδρίου"
lineBreakMode=
"tailTruncation"
numberOfLines=
"2"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"MsK-eg-pkk"
userLabel=
"NameLabel"
>
<rect
key=
"frame"
x=
"70"
y=
"7
4"
width=
"314"
height=
"18
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"1
5
"
/>
<rect
key=
"frame"
x=
"70"
y=
"7
2.5"
width=
"314"
height=
"21.5
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"1
8
"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
...
...
@@ -90,7 +90,7 @@
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
text=
"210-6230543"
lineBreakMode=
"tailTruncation"
numberOfLines=
"2"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"knh-D9-CuM"
userLabel=
"phoneLabel"
>
<rect
key=
"frame"
x=
"60"
y=
"154"
width=
"324"
height=
"40"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"1
5
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"1
8
"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
...
...
@@ -110,7 +110,7 @@
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
text=
"ΕΘΝΙΚΗΣ ΑΝΤΙΣΤΑΣΕΩΣ 4 41"
lineBreakMode=
"tailTruncation"
numberOfLines=
"2"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"syP-Hv-OGD"
userLabel=
"AddressLabel"
>
<rect
key=
"frame"
x=
"60"
y=
"235"
width=
"247"
height=
"31"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"1
5
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"1
8
"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
...
...
@@ -123,8 +123,8 @@
</connections>
</button>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
text=
"Δευτέρα - Τετάρτη"
lineBreakMode=
"tailTruncation"
numberOfLines=
"2"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"u9U-A7-lbO"
userLabel=
"HoursLabel"
>
<rect
key=
"frame"
x=
"70"
y=
"9
4"
width=
"314"
height=
"18
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"1
5
"
/>
<rect
key=
"frame"
x=
"70"
y=
"9
2.5"
width=
"314"
height=
"21.5
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"1
8
"
/>
<color
key=
"textColor"
systemColor=
"systemGray2Color"
/>
<nil
key=
"highlightedColor"
/>
</label>
...
...
Please
register
or
login
to post a comment