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
2022-10-13 18:46:49 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ce98a4520d31af884bae3e15b5838686165f0777
ce98a452
1 parent
c05d227c
possible fix for header line
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
29 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/ContextualViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.xib
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ce98a45
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/ContextualViewController.swift
View file @
ce98a45
...
...
@@ -57,6 +57,9 @@ import SwiftEventBus
topBorderLine
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderLine
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderLine
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderLine
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderLine
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderLine
.
heightAnchor
.
constraint
(
equalTo
:
topBorderLine
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
ce98a45
...
...
@@ -11,6 +11,7 @@ import AVFoundation
// import SwiftEventBus
@objc
public
class
CouponBarcodeViewController
:
UIViewController
{
@IBOutlet
weak
var
mainView
:
UIView
!
@IBOutlet
weak
var
backgroundImage
:
UIImageView
!
@IBOutlet
weak
var
scrollView
:
UIScrollView
!
@IBOutlet
weak
var
scrollContentView
:
UIView
!
...
...
@@ -72,6 +73,9 @@ import AVFoundation
topBorderLine
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderLine
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderLine
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderLine
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderLine
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderLine
.
heightAnchor
.
constraint
(
equalTo
:
topBorderLine
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
View file @
ce98a45
...
...
@@ -63,6 +63,9 @@ import SwiftEventBus
topBorderLine
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderLine
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderLine
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderLine
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderLine
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderLine
.
heightAnchor
.
constraint
(
equalTo
:
topBorderLine
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
ce98a45
...
...
@@ -81,6 +81,9 @@ import SwiftEventBus
topBorderShadow
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderShadow
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderShadow
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderShadow
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderShadow
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderShadow
.
heightAnchor
.
constraint
(
equalTo
:
topBorderShadow
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
ce98a45
...
...
@@ -72,6 +72,9 @@ import SwiftEventBus
topBorderShadow
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderShadow
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderShadow
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderShadow
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderShadow
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderShadow
.
heightAnchor
.
constraint
(
equalTo
:
topBorderShadow
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
ce98a45
...
...
@@ -1624,6 +1624,7 @@
<outlet
property=
"couponView"
destination=
"Zdf-1r-FdJ"
id=
"OA8-73-e0p"
/>
<outlet
property=
"discriptionLabel"
destination=
"mri-Wl-spg"
id=
"iuf-XL-NWH"
/>
<outlet
property=
"expirationLabel"
destination=
"UhC-Lj-tfN"
id=
"9Hj-I1-nJa"
/>
<outlet
property=
"mainView"
destination=
"P3Q-nP-aSj"
id=
"pZK-pk-db5"
/>
<outlet
property=
"mapButton"
destination=
"W5f-1T-iW6"
id=
"2IL-QE-TdM"
/>
<outlet
property=
"nameLabel"
destination=
"Xz4-EE-EzJ"
id=
"zTY-n5-36h"
/>
<outlet
property=
"redeemButton"
destination=
"8cR-Rc-YMJ"
id=
"atB-0m-8ff"
/>
...
...
@@ -2659,6 +2660,7 @@
<outlet
property=
"giftTypeLabel"
destination=
"yXI-Ds-V0T"
id=
"ux6-O8-GPe"
/>
<outlet
property=
"heroImage"
destination=
"QlP-ct-u6O"
id=
"lCm-UF-0Sy"
/>
<outlet
property=
"heroImageHeight"
destination=
"v6r-oa-0XG"
id=
"3Mg-z2-ETz"
/>
<outlet
property=
"mainView"
destination=
"8dQ-SF-Z4E"
id=
"SpH-kQ-TGd"
/>
<outlet
property=
"moreButton"
destination=
"ulI-Td-g6v"
id=
"4Xj-S3-FzE"
/>
<outlet
property=
"moreTextView"
destination=
"mCl-kM-ssj"
id=
"cC6-pL-jqp"
/>
<outlet
property=
"moreTextViewHeight"
destination=
"Uys-zo-ERe"
id=
"W9H-V2-oOm"
/>
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.swift
View file @
ce98a45
...
...
@@ -10,6 +10,7 @@ import MapKit
@objc
public
class
MapsViewController
:
UIViewController
,
MKMapViewDelegate
{
// ui
@IBOutlet
weak
var
mainView
:
UIView
!
@IBOutlet
weak
var
backgroundImage
:
UIImageView
!
@IBOutlet
private
var
mapView
:
MKMapView
!
...
...
@@ -63,6 +64,9 @@ import MapKit
topBorderLine
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderLine
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderLine
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderLine
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderLine
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderLine
.
heightAnchor
.
constraint
(
equalTo
:
topBorderLine
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MapsViewController.xib
View file @
ce98a45
...
...
@@ -17,6 +17,7 @@
<outlet
property=
"directionsButton"
destination=
"bw3-J9-wHr"
id=
"sSi-OK-KTA"
/>
<outlet
property=
"hoursView"
destination=
"u9U-A7-lbO"
id=
"xm5-gQ-zjh"
/>
<outlet
property=
"infoTopConstraint"
destination=
"9av-UX-8VL"
id=
"uKX-lw-OTH"
/>
<outlet
property=
"mainView"
destination=
"rKl-bF-Zpf"
id=
"ghc-id-sqV"
/>
<outlet
property=
"mapView"
destination=
"F1c-ck-cQa"
id=
"cdx-31-BiL"
/>
<outlet
property=
"nameImageView"
destination=
"eDV-A1-pOO"
id=
"JYq-eT-kEG"
/>
<outlet
property=
"nameView"
destination=
"MsK-eg-pkk"
id=
"60t-lm-O8m"
/>
...
...
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
ce98a45
...
...
@@ -67,6 +67,9 @@ import SwiftEventBus
topBorderLine
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderLine
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderLine
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderLine
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderLine
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderLine
.
heightAnchor
.
constraint
(
equalTo
:
topBorderLine
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
View file @
ce98a45
...
...
@@ -64,6 +64,9 @@ import SwiftEventBus
topBorderLine
.
contentMode
=
.
scaleAspectFit
NSLayoutConstraint
.
activate
([
topBorderLine
.
topAnchor
.
constraint
(
equalTo
:
mainView
.
topAnchor
,
constant
:
0
),
topBorderLine
.
leadingAnchor
.
constraint
(
equalTo
:
mainView
.
leadingAnchor
,
constant
:
0
),
topBorderLine
.
trailingAnchor
.
constraint
(
equalTo
:
mainView
.
trailingAnchor
,
constant
:
0
),
topBorderLine
.
widthAnchor
.
constraint
(
equalToConstant
:
UIScreen
.
main
.
bounds
.
width
),
topBorderLine
.
heightAnchor
.
constraint
(
equalTo
:
topBorderLine
.
widthAnchor
,
multiplier
:
1
/
aspectR
)
])
...
...
Please
register
or
login
to post a comment