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-09-19 17:18:29 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
78fb19e224340b269fc4b04cabe38795bdacccd1
78fb19e2
1 parent
ce5be0e4
fix UnifiedCouponBarcodeVC show coupons button
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
13 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/Main.storyboard
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBCHeaderTableViewCell.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
78fb19e
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
78fb19e
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
78fb19e
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
78fb19e
...
...
@@ -3247,7 +3247,7 @@
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"52P-0b-ua5"
>
<rect
key=
"frame"
x=
"1
03.5"
y=
"773.5"
width=
"207
"
height=
"40"
/>
<rect
key=
"frame"
x=
"1
13"
y=
"773.5"
width=
"188
"
height=
"40"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"40"
id=
"W45-Tv-hXa"
/>
</constraints>
...
...
@@ -3275,7 +3275,6 @@
<constraint
firstAttribute=
"trailing"
secondItem=
"7Ha-h1-G5Y"
secondAttribute=
"trailing"
constant=
"20"
id=
"JCb-Z3-NVb"
/>
<constraint
firstItem=
"33M-UT-Ysb"
firstAttribute=
"leading"
secondItem=
"zYD-ey-wun"
secondAttribute=
"leading"
constant=
"20"
id=
"Oe2-NA-u35"
/>
<constraint
firstItem=
"7Ha-h1-G5Y"
firstAttribute=
"top"
secondItem=
"KgC-mB-kHF"
secondAttribute=
"bottom"
constant=
"15"
id=
"OkX-gf-S8Z"
/>
<constraint
firstItem=
"52P-0b-ua5"
firstAttribute=
"width"
secondItem=
"zYD-ey-wun"
secondAttribute=
"width"
multiplier=
"0.5"
id=
"OpZ-1t-VZF"
/>
<constraint
firstItem=
"9Cx-1R-FqG"
firstAttribute=
"leading"
secondItem=
"zYD-ey-wun"
secondAttribute=
"leading"
constant=
"30"
id=
"RS0-3d-Ahq"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"luU-pw-7jY"
secondAttribute=
"trailing"
constant=
"20"
id=
"TVb-zK-d3G"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"SPU-J6-4re"
secondAttribute=
"trailing"
constant=
"20"
id=
"Trv-gg-FoN"
/>
...
...
@@ -3480,17 +3479,17 @@
</connections>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
preservesSuperviewLayoutMargins=
"YES"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"UnifiedCouponBCFooterTableViewCell"
id=
"LD5-ES-J67"
customClass=
"UnifiedCouponBCFooterTableViewCell"
customModule=
"SwiftWarplyFramework"
>
<rect
key=
"frame"
x=
"0.0"
y=
"935.5"
width=
"414"
height=
"
44
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"935.5"
width=
"414"
height=
"
160
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
preservesSuperviewLayoutMargins=
"YES"
insetsLayoutMarginsFromSafeArea=
"NO"
tableViewCell=
"LD5-ES-J67"
id=
"DmN-AA-8n5"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"
44
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"
160
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"L4W-1e-9fQ"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"
44
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"
160
"
/>
<subviews>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Kdi-w7-eKZ"
>
<rect
key=
"frame"
x=
"123.5"
y=
"20"
width=
"167"
height=
"
33
"
/>
<rect
key=
"frame"
x=
"123.5"
y=
"20"
width=
"167"
height=
"
50
"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"50"
id=
"SUG-HC-XQH"
/>
</constraints>
...
...
@@ -3504,7 +3503,7 @@
</connections>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Sq7-ea-Nx2"
>
<rect
key=
"frame"
x=
"103.5"
y=
"
-10"
width=
"207"
height=
"24
"
/>
<rect
key=
"frame"
x=
"103.5"
y=
"
90"
width=
"207"
height=
"40
"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"40"
id=
"UgG-aB-OOw"
/>
</constraints>
...
...
@@ -3519,7 +3518,7 @@
</connections>
</button>
<textView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
editable=
"NO"
textAlignment=
"center"
selectable=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Kkr-9H-ZSx"
customClass=
"UnselectableTappableTextView"
customModule=
"SwiftWarplyFramework"
>
<rect
key=
"frame"
x=
"20"
y=
"1
4
"
width=
"374"
height=
"0.0"
/>
<rect
key=
"frame"
x=
"20"
y=
"1
30
"
width=
"374"
height=
"0.0"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstAttribute=
"height"
id=
"oLt-F6-WA7"
/>
...
...
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBCHeaderTableViewCell.swift
View file @
78fb19e
...
...
@@ -107,10 +107,10 @@ import AVFoundation
showCouponsButton
.
setImage
(
UIImage
(
named
:
"ic_down_dark_2.png"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
),
for
:
.
normal
)
showCouponsButton
.
semanticContentAttribute
=
.
forceRightToLeft
showCouponsButton
.
tintColor
=
UIColor
(
red
:
0.00
,
green
:
0.00
,
blue
:
0.00
,
alpha
:
1.00
)
showCouponsButton
.
imageEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
5
,
bottom
:
0
,
right
:
0
);
showCouponsButton
.
titleEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
0
,
bottom
:
0
,
right
:
5
);
showCouponsButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
10
,
bottom
:
0
,
right
:
0
);
showCouponsButton
.
titleEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
-
10
,
bottom
:
0
,
right
:
10
);
showCouponsButton
.
imageView
?
.
layer
.
transform
=
CATransform3DMakeScale
(
0.8
,
0.8
,
0.8
)
showCouponsButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
showCouponsButton
.
intrinsicContentSize
.
width
+
10
,
height
:
40
)
}
public
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
...
...
@@ -294,9 +294,12 @@ import AVFoundation
if
(
couponsVisible
)
{
showCouponsButton
.
setTitle
(
"Απόκρυψη προσφορών"
,
for
:
.
normal
)
showCouponsButton
.
setImage
(
UIImage
(
named
:
"ic_up_dark_2.png"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
),
for
:
.
normal
)
showCouponsButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
showCouponsButton
.
intrinsicContentSize
.
width
+
10
,
height
:
40
)
}
else
{
showCouponsButton
.
setTitle
(
"Εμφάνιση προσφορών"
,
for
:
.
normal
)
showCouponsButton
.
setImage
(
UIImage
(
named
:
"ic_down_dark_2.png"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
),
for
:
.
normal
)
showCouponsButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
showCouponsButton
.
intrinsicContentSize
.
width
+
10
,
height
:
40
)
}
}
...
...
Please
register
or
login
to post a comment