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-06-21 15:03:59 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bffa5a61150485d6718cb93d169d50703b408cec
bffa5a61
1 parent
9c4b103f
hide supermarket coupons redeem button
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
2 deletions
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
bffa5a6
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
bffa5a6
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
bffa5a6
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
bffa5a6
...
...
@@ -35,6 +35,8 @@ import AVFoundation
@IBOutlet
weak
var
showBarcodeButton
:
UIButton
!
@IBOutlet
weak
var
expirationLabel
:
UILabel
!
@IBOutlet
weak
var
redeemButton
:
UIButton
!
@IBOutlet
weak
var
redeemButtonHeight
:
NSLayoutConstraint
!
@IBOutlet
weak
var
redeemButtonTopSpace
:
NSLayoutConstraint
!
@IBOutlet
weak
var
termsButton
:
UIButton
!
@IBOutlet
weak
var
termsTextView
:
UnselectableTappableTextView
!
@IBOutlet
weak
var
termsTextViewHeight
:
NSLayoutConstraint
!
...
...
@@ -180,6 +182,10 @@ import AVFoundation
couponViewHeight
.
constant
=
CGFloat
(
0
)
couponViewTopSpace
.
constant
=
CGFloat
(
0
)
redeemButton
.
isHidden
=
true
redeemButtonHeight
.
constant
=
CGFloat
(
0
)
// redeemButtonTopSpace.constant = CGFloat(0)
}
else
{
couponCodeLabel
.
isHidden
=
false
couponCodeLabelHeight
.
constant
=
CGFloat
(
20
)
...
...
@@ -188,6 +194,10 @@ import AVFoundation
couponView
.
isHidden
=
true
couponViewHeight
.
constant
=
CGFloat
(
55
)
couponViewTopSpace
.
constant
=
CGFloat
(
20
)
redeemButton
.
isHidden
=
true
redeemButtonHeight
.
constant
=
CGFloat
(
50
)
// redeemButtonTopSpace.constant = CGFloat(20)
}
let
barcodeString
=
constructBarcode
()
??
""
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
bffa5a6
...
...
@@ -3907,6 +3907,8 @@
<outlet
property=
"merchantDescrTextViewTopSpace"
destination=
"Cep-Md-KJT"
id=
"39u-Io-Zqp"
/>
<outlet
property=
"nameLabel"
destination=
"Xz4-EE-EzJ"
id=
"zTY-n5-36h"
/>
<outlet
property=
"redeemButton"
destination=
"8cR-Rc-YMJ"
id=
"atB-0m-8ff"
/>
<outlet
property=
"redeemButtonHeight"
destination=
"ccg-NP-FIH"
id=
"WZ3-vX-rsW"
/>
<outlet
property=
"redeemButtonTopSpace"
destination=
"I87-km-KEb"
id=
"XIe-vN-vdO"
/>
<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"
/>
...
...
Please
register
or
login
to post a comment