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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 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
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment