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
2025-05-28 12:47:01 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e51b47c3cfb2192e6c5b3218ceb5dd97fa81b208
e51b47c3
1 parent
0c138a3e
CouponVC fixes
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
14 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/screens/CouponViewController/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.xib
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
e51b47c
...
...
@@ -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 @
e51b47c
...
...
@@ -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 @
e51b47c
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.swift
View file @
e51b47c
...
...
@@ -122,7 +122,7 @@ import UIKit
mapButton
.
setTitle
(
"Καταστήματα κοντά μου"
,
for
:
.
normal
)
mapButton
.
setTitleColor
(
UIColor
(
rgb
:
0xFFFFFF
),
for
:
.
normal
)
mapButton
.
layer
.
cornerRadius
=
4.0
website
Button
.
backgroundColor
=
UIColor
(
rgb
:
0x000F1E
)
map
Button
.
backgroundColor
=
UIColor
(
rgb
:
0x000F1E
)
websiteButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PingLCG-Bold"
,
size
:
16
)
websiteButton
.
setTitle
(
"Δες το website"
,
for
:
.
normal
)
...
...
@@ -201,6 +201,8 @@ import UIKit
UIView
.
animate
(
withDuration
:
0.3
)
{
self
.
couponCodeArrowImage
.
image
=
UIImage
(
named
:
self
.
isCouponCodeExpanded
?
"arrow_up"
:
"arrow_down"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
self
.
couponCodeContentHeightConstraint
.
constant
=
self
.
isCouponCodeExpanded
?
self
.
couponCodeContentView
.
intrinsicContentSize
.
height
:
0
self
.
couponCodeContentView
.
isHidden
=
!
self
.
isCouponCodeExpanded
self
.
couponCodeContainerView
.
frame
.
size
.
height
=
self
.
couponCodeContainerView
.
intrinsicContentSize
.
height
self
.
view
.
layoutIfNeeded
()
}
}
...
...
@@ -211,6 +213,8 @@ import UIKit
UIView
.
animate
(
withDuration
:
0.3
)
{
self
.
couponQRArrowImage
.
image
=
UIImage
(
named
:
self
.
isCouponQRExpanded
?
"arrow_up"
:
"arrow_down"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
self
.
couponQRContentHeightConstraint
.
constant
=
self
.
isCouponQRExpanded
?
self
.
couponQRContentView
.
intrinsicContentSize
.
height
:
0
self
.
couponQRContentView
.
isHidden
=
!
self
.
isCouponQRExpanded
self
.
couponQRContainerView
.
frame
.
size
.
height
=
self
.
couponQRContainerView
.
intrinsicContentSize
.
height
self
.
view
.
layoutIfNeeded
()
}
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.xib
View file @
e51b47c
...
...
@@ -57,10 +57,10 @@
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"XaT-fU-eNh"
userLabel=
"Main View"
>
<rect
key=
"frame"
x=
"0.0"
y=
"59"
width=
"393"
height=
"793"
/>
<subviews>
<scrollView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
ambiguous=
"YES"
showsHorizontalScrollIndicator=
"NO"
showsVerticalScrollIndicator=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"YpC-uS-mhw"
>
<scrollView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
showsHorizontalScrollIndicator=
"NO"
showsVerticalScrollIndicator=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"YpC-uS-mhw"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"393"
height=
"793"
/>
<subviews>
<view
contentMode=
"scaleToFill"
ambiguous=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qrm-40-JLT"
userLabel=
"Scroll Content View"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qrm-40-JLT"
userLabel=
"Scroll Content View"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"393"
height=
"1225.6666666666667"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Xiw-td-OMd"
userLabel=
"Coupon Image View"
>
...
...
@@ -309,16 +309,16 @@
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"HAh-BZ-4Ka"
userLabel=
"TermsButtonView"
>
<rect
key=
"frame"
x=
"2
4"
y=
"1349.3333333333333"
width=
"75
"
height=
"35"
/>
<rect
key=
"frame"
x=
"2
3.999999999999993"
y=
"944.33333333333337"
width=
"123.33333333333331
"
height=
"35"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
Label
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6Vj-gt-dKJ"
userLabel=
"TermsButtonTitleLabel"
>
<rect
key=
"frame"
x=
"0.0"
y=
"5"
width=
"
5
3"
height=
"25"
/>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
Όροι Χρήσης
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"6Vj-gt-dKJ"
userLabel=
"TermsButtonTitleLabel"
>
<rect
key=
"frame"
x=
"0.0"
y=
"5"
width=
"
101.3333333333333
3"
height=
"25"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"C8k-TU-LiL"
userLabel=
"TermsButtonArrowImage"
>
<rect
key=
"frame"
x=
"
61
"
y=
"15"
width=
"9"
height=
"5"
/>
<rect
key=
"frame"
x=
"
109.33333333333334
"
y=
"15"
width=
"9"
height=
"5"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"5"
id=
"ERb-FD-j0Y"
/>
...
...
@@ -326,7 +326,7 @@
</constraints>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Id4-Xw-01i"
userLabel=
"TermsButton"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"
75
"
height=
"35"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"
123.33333333333333
"
height=
"35"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<state
key=
"normal"
title=
"Button"
/>
<buttonConfiguration
key=
"configuration"
style=
"plain"
title=
"Button"
>
...
...
@@ -348,7 +348,7 @@
<constraint
firstAttribute=
"bottom"
secondItem=
"Id4-Xw-01i"
secondAttribute=
"bottom"
id=
"xfI-kZ-4H2"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
ambiguous=
"YES"
text=
"Label"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ak8-Tc-k8X"
userLabel=
"TermsLabel"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ak8-Tc-k8X"
userLabel=
"TermsLabel"
>
<rect
key=
"frame"
x=
"24"
y=
"989.33333333333326"
width=
"345"
height=
"20.333333333333371"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"20.329999999999998"
id=
"ZA1-TX-m9Y"
/>
...
...
@@ -357,7 +357,7 @@
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
ambiguous=
"YES"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"j1U-rV-0FP"
userLabel=
"MapButton"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"j1U-rV-0FP"
userLabel=
"MapButton"
>
<rect
key=
"frame"
x=
"24"
y=
"1049.6666666666667"
width=
"345"
height=
"55"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"55"
id=
"BZv-RS-JfU"
/>
...
...
@@ -365,7 +365,7 @@
<state
key=
"normal"
title=
"Button"
/>
<buttonConfiguration
key=
"configuration"
style=
"plain"
title=
"Button"
/>
</button>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
ambiguous=
"YES"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"t8z-s1-rIA"
userLabel=
"WebsiteButton"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"t8z-s1-rIA"
userLabel=
"WebsiteButton"
>
<rect
key=
"frame"
x=
"24"
y=
"1124.6666666666667"
width=
"345"
height=
"55"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"55"
id=
"EUh-DN-fJh"
/>
...
...
@@ -390,7 +390,7 @@
<constraint
firstAttribute=
"trailing"
secondItem=
"89U-JU-Imv"
secondAttribute=
"trailing"
constant=
"16"
id=
"QJ1-AA-bn9"
/>
<constraint
firstItem=
"u54-xs-f5a"
firstAttribute=
"leading"
secondItem=
"qrm-40-JLT"
secondAttribute=
"leading"
constant=
"24"
id=
"ScM-kH-ZEe"
/>
<constraint
firstItem=
"VJr-Mc-WMf"
firstAttribute=
"top"
secondItem=
"u54-xs-f5a"
secondAttribute=
"bottom"
id=
"Ssw-da-ntM"
/>
<constraint
firstItem=
"HAh-BZ-4Ka"
firstAttribute=
"top"
secondItem=
"
X7C-0H-IhU"
secondAttribute=
"bottom"
constant=
"100
0"
id=
"Su5-M8-vrC"
/>
<constraint
firstItem=
"HAh-BZ-4Ka"
firstAttribute=
"top"
secondItem=
"
Cwz-uh-Zn5"
secondAttribute=
"bottom"
constant=
"5
0"
id=
"Su5-M8-vrC"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Xiw-td-OMd"
secondAttribute=
"trailing"
id=
"TGH-lz-pn5"
/>
<constraint
firstItem=
"ElJ-Te-N4M"
firstAttribute=
"leading"
secondItem=
"qrm-40-JLT"
secondAttribute=
"leading"
constant=
"24"
id=
"abd-4G-pI5"
/>
<constraint
firstItem=
"Xiw-td-OMd"
firstAttribute=
"top"
secondItem=
"qrm-40-JLT"
secondAttribute=
"top"
id=
"ajI-sR-3Pt"
/>
...
...
@@ -403,6 +403,7 @@
<constraint
firstAttribute=
"trailing"
secondItem=
"ElJ-Te-N4M"
secondAttribute=
"trailing"
constant=
"24"
id=
"f9R-SZ-ReV"
/>
<constraint
firstItem=
"j1U-rV-0FP"
firstAttribute=
"top"
secondItem=
"Ak8-Tc-k8X"
secondAttribute=
"bottom"
constant=
"40"
id=
"gym-1h-ewZ"
/>
<constraint
firstItem=
"HLR-Nk-7Gm"
firstAttribute=
"top"
secondItem=
"VJr-Mc-WMf"
secondAttribute=
"bottom"
constant=
"14"
id=
"hfN-OE-fbk"
/>
<constraint
firstItem=
"Ak8-Tc-k8X"
firstAttribute=
"top"
secondItem=
"HAh-BZ-4Ka"
secondAttribute=
"bottom"
constant=
"9.9999999999998863"
id=
"i4i-57-H76"
/>
<constraint
firstItem=
"j1U-rV-0FP"
firstAttribute=
"leading"
secondItem=
"qrm-40-JLT"
secondAttribute=
"leading"
constant=
"24"
id=
"jac-wq-3ZZ"
/>
<constraint
firstItem=
"ElJ-Te-N4M"
firstAttribute=
"top"
secondItem=
"X7C-0H-IhU"
secondAttribute=
"bottom"
constant=
"34"
id=
"jpp-m0-Hqs"
/>
<constraint
firstItem=
"t8z-s1-rIA"
firstAttribute=
"top"
secondItem=
"j1U-rV-0FP"
secondAttribute=
"bottom"
constant=
"20"
id=
"lPW-dz-sru"
/>
...
...
Please
register
or
login
to post a comment