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
2026-03-18 12:11:01 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f1adb8ee78253a8afa04d576bd46645f27d66813
f1adb8ee
1 parent
e566dedc
MapViewController part2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/MapViewController/MapViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/MapViewController/MapViewController.xib
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.swift
View file @
f1adb8e
...
...
@@ -125,6 +125,7 @@ import UIKit
mapButton
.
setTitleColor
(
UIColor
(
rgb
:
0xFFFFFF
),
for
:
.
highlighted
)
mapButton
.
layer
.
cornerRadius
=
mapButton
.
bounds
.
height
/
2
mapButton
.
backgroundColor
=
UIColor
(
rgb
:
0x00A3E0
)
mapButton
.
addTarget
(
self
,
action
:
#selector(
mapButtonTapped
)
,
for
:
.
touchUpInside
)
websiteButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PingLCG-Regular"
,
size
:
16
)
// websiteButton.setTitle("Δες το website", for: .normal)
...
...
@@ -133,12 +134,24 @@ import UIKit
websiteButton
.
setTitleColor
(
UIColor
(
rgb
:
0x002430
),
for
:
.
highlighted
)
websiteButton
.
backgroundColor
=
UIColor
(
rgb
:
0xDDEFFB
)
websiteButton
.
layer
.
cornerRadius
=
websiteButton
.
bounds
.
height
/
2
websiteButton
.
addTarget
(
self
,
action
:
#selector(
websiteButtonTapped
)
,
for
:
.
touchUpInside
)
// Configure the view with coupon data
if
let
couponData
=
coupon
{
setupUI
(
with
:
couponData
)
}
}
@objc
private
func
mapButtonTapped
()
{
let
vc
=
SwiftWarplyFramework
.
MapViewController
(
nibName
:
"MapViewController"
,
bundle
:
Bundle
.
frameworkBundle
)
vc
.
coupon
=
coupon
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
@objc
private
func
websiteButtonTapped
()
{
// TODO
}
public
override
func
viewDidLayoutSubviews
()
{
super
.
viewDidLayoutSubviews
()
...
...
SwiftWarplyFramework/SwiftWarplyFramework/screens/MapViewController/MapViewController.swift
View file @
f1adb8e
This diff is collapsed. Click to expand it.
SwiftWarplyFramework/SwiftWarplyFramework/screens/MapViewController/MapViewController.xib
View file @
f1adb8e
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment