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-19 13:51:01 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9736b70f4bbcb857a7e2db53861ace2816ceee43
9736b70f
1 parent
5c0d15cb
hide barcode section
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
9736b70
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
9736b70
...
...
@@ -41,6 +41,8 @@ import AVFoundation
@IBOutlet
weak
var
topBorderLine
:
UIImageView
!
@IBOutlet
weak
var
mapButtonHeight
:
NSLayoutConstraint
!
@IBOutlet
weak
var
mapButtonTopSpace
:
NSLayoutConstraint
!
@IBOutlet
weak
var
showBarcodeButtonHeight
:
NSLayoutConstraint
!
@IBOutlet
weak
var
showBarcodeButtonTopSpace
:
NSLayoutConstraint
!
let
uiscreen
:
CGRect
=
UIScreen
.
main
.
bounds
...
...
@@ -109,8 +111,17 @@ import AVFoundation
barcodeImage
.
image
=
barcodeUIImage
barcodeImageHeight
.
constant
=
self
.
uiscreen
.
height
*
0.1
showBarcodeButton
.
isHidden
=
false
showBarcodeButtonHeight
.
constant
=
50
showBarcodeButtonTopSpace
.
constant
=
10
}
else
{
barcodeImageHeight
.
constant
=
0
showBarcodeButton
.
isHidden
=
true
showBarcodeButtonHeight
.
constant
=
0
showBarcodeButtonTopSpace
.
constant
=
0
}
showBarcodeButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
16
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
9736b70
...
...
@@ -1633,6 +1633,8 @@
<outlet
property=
"scrollContentView"
destination=
"1ec-eH-fkX"
id=
"IZE-ie-TUA"
/>
<outlet
property=
"scrollView"
destination=
"D1m-2B-ehg"
id=
"dwz-JJ-dht"
/>
<outlet
property=
"showBarcodeButton"
destination=
"Zw5-Wj-WD5"
id=
"WP9-RY-QDg"
/>
<outlet
property=
"showBarcodeButtonHeight"
destination=
"ZSP-NX-0a7"
id=
"B4H-wJ-IEa"
/>
<outlet
property=
"showBarcodeButtonTopSpace"
destination=
"7VE-aB-ZD3"
id=
"8MW-su-T3G"
/>
<outlet
property=
"termsButton"
destination=
"8UD-WL-JB7"
id=
"azl-dZ-6ey"
/>
<outlet
property=
"termsTextView"
destination=
"xjX-HZ-MpD"
id=
"8ZQ-e0-1Ib"
/>
<outlet
property=
"termsTextViewHeight"
destination=
"3GU-tg-S3t"
id=
"H3e-IQ-FGo"
/>
...
...
Please
register
or
login
to post a comment