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-18 15:06:09 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ebbf7aa69f498f42e72b08ed11a6d31c3427371f
ebbf7aa6
1 parent
17fe3f27
CouponBarcodeViewController ui fixes
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 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 @
ebbf7aa
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
ebbf7aa
...
...
@@ -46,6 +46,7 @@ import AVFoundation
@IBOutlet
weak
var
mapButtonTopSpace
:
NSLayoutConstraint
!
@IBOutlet
weak
var
showBarcodeButtonHeight
:
NSLayoutConstraint
!
@IBOutlet
weak
var
showBarcodeButtonTopSpace
:
NSLayoutConstraint
!
@IBOutlet
weak
var
couponCodeLabelTopSpace
:
NSLayoutConstraint
!
let
uiscreen
:
CGRect
=
UIScreen
.
main
.
bounds
...
...
@@ -110,6 +111,7 @@ import AVFoundation
merchantDescrTextViewTopSpace
.
constant
=
CGFloat
(
0
)
merchantDescrTextViewHeight
.
constant
=
CGFloat
(
0
)
merchantDescrTextView
.
isHidden
=
true
couponCodeLabelTopSpace
.
constant
=
CGFloat
(
35
)
let
merchantList
:
Array
<
swiftApi
.
MerchantModel
>
=
swiftApi
()
.
getMerchantList
()
...
...
@@ -129,9 +131,11 @@ import AVFoundation
merchantDescrTextView
.
dataDetectorTypes
=
[
.
link
]
merchantDescrTextView
.
isHidden
=
false
merchantDescrTextViewTopSpace
.
constant
=
CGFloat
(
1
5
)
merchantDescrTextViewTopSpace
.
constant
=
CGFloat
(
1
0
)
let
targetSize
=
CGSize
(
width
:
merchantDescrTextView
.
frame
.
width
,
height
:
CGFloat
(
MAXFLOAT
))
merchantDescrTextViewHeight
.
constant
=
merchantDescrTextView
.
sizeThatFits
(
targetSize
)
.
height
couponCodeLabelTopSpace
.
constant
=
CGFloat
(
0
)
}
break
;
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
ebbf7aa
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment