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 15:49:08 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
17214dab9153429e2d49849732ed98dd46af2ec6
17214dab
1 parent
4858bc19
coupon copyButton ui fix
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.xib
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
17214da
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.swift
View file @
17214da
...
...
@@ -33,7 +33,7 @@ import UIKit
@IBOutlet
weak
var
couponCodeButton
:
UIButton
!
// Content elements (initially hidden)
@IBOutlet
weak
var
couponCodeValueLabel
:
Copyable
Label
!
@IBOutlet
weak
var
couponCodeValueLabel
:
UI
Label
!
@IBOutlet
weak
var
copyButtonImage
:
UIImageView
!
@IBOutlet
weak
var
copyButton
:
UIButton
!
...
...
SwiftWarplyFramework/SwiftWarplyFramework/screens/CouponViewController/CouponViewController.xib
View file @
17214da
...
...
@@ -183,7 +183,7 @@
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"wT1-HY-mg9"
userLabel=
"CouponCodeContentView"
>
<rect
key=
"frame"
x=
"0.0"
y=
"54.333333333333371"
width=
"345"
height=
"80"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2Fn-5d-j8v"
userLabel=
"CouponCodeValueLabel"
customClass=
"CopyableLabel"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2Fn-5d-j8v"
userLabel=
"CouponCodeValueLabel"
>
<rect
key=
"frame"
x=
"16.999999999999996"
y=
"25.999999999999943"
width=
"56.666666666666657"
height=
"28"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"24"
/>
<nil
key=
"textColor"
/>
...
...
@@ -198,7 +198,7 @@
</constraints>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"uPp-hJ-U97"
userLabel=
"CouponCopyButton"
>
<rect
key=
"frame"
x=
"
84.666666666666671"
y=
"23.666666666666686"
width=
"33"
height=
"33
"
/>
<rect
key=
"frame"
x=
"
0.0"
y=
"0.0"
width=
"117.66666666666667"
height=
"80
"
/>
<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"
>
...
...
@@ -208,16 +208,16 @@
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstItem=
"uPp-hJ-U97"
firstAttribute=
"leading"
secondItem=
"AXc-Yh-5Ek"
secondAttribute=
"leading"
id=
"4AX-eb-8Eo"
/>
<constraint
firstItem=
"AXc-Yh-5Ek"
firstAttribute=
"trailing"
secondItem=
"uPp-hJ-U97"
secondAttribute=
"trailing"
id=
"3aJ-yL-aQu"
/>
<constraint
firstItem=
"uPp-hJ-U97"
firstAttribute=
"leading"
secondItem=
"wT1-HY-mg9"
secondAttribute=
"leading"
id=
"6Jl-oE-u2d"
/>
<constraint
firstAttribute=
"trailing"
relation=
"greaterThanOrEqual"
secondItem=
"AXc-Yh-5Ek"
secondAttribute=
"trailing"
constant=
"17"
id=
"7Pr-rr-Awn"
/>
<constraint
firstItem=
"uPp-hJ-U97"
firstAttribute=
"trailing"
secondItem=
"AXc-Yh-5Ek"
secondAttribute=
"trailing"
id=
"BlL-II-2cP"
/>
<constraint
firstItem=
"AXc-Yh-5Ek"
firstAttribute=
"centerY"
secondItem=
"wT1-HY-mg9"
secondAttribute=
"centerY"
id=
"FdP-94-Drs"
/>
<constraint
firstItem=
"2Fn-5d-j8v"
firstAttribute=
"leading"
secondItem=
"wT1-HY-mg9"
secondAttribute=
"leading"
constant=
"17"
id=
"HYO-ML-C8b"
/>
<constraint
firstItem=
"uPp-hJ-U97"
firstAttribute=
"top"
secondItem=
"wT1-HY-mg9"
secondAttribute=
"top"
id=
"RGx-ep-QGw"
/>
<constraint
firstItem=
"2Fn-5d-j8v"
firstAttribute=
"top"
secondItem=
"wT1-HY-mg9"
secondAttribute=
"top"
constant=
"26"
id=
"XpY-aU-BzN"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"2Fn-5d-j8v"
secondAttribute=
"bottom"
constant=
"26"
id=
"Y10-PC-eP5"
/>
<constraint
first
Item=
"uPp-hJ-U97"
firstAttribute=
"top"
secondItem=
"AXc-Yh-5Ek"
secondAttribute=
"top"
id=
"hSS-7f-MiM
"
/>
<constraint
first
Attribute=
"bottom"
secondItem=
"uPp-hJ-U97"
secondAttribute=
"bottom"
id=
"b9r-2I-hhe
"
/>
<constraint
firstAttribute=
"height"
constant=
"80"
id=
"ky8-Xs-cjh"
/>
<constraint
firstItem=
"uPp-hJ-U97"
firstAttribute=
"bottom"
secondItem=
"AXc-Yh-5Ek"
secondAttribute=
"bottom"
id=
"v1F-S6-muO"
/>
<constraint
firstItem=
"AXc-Yh-5Ek"
firstAttribute=
"leading"
secondItem=
"2Fn-5d-j8v"
secondAttribute=
"trailing"
constant=
"11"
id=
"vuS-Bk-Q0J"
/>
</constraints>
</view>
...
...
Please
register
or
login
to post a comment