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
2024-10-22 15:24:58 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5d644e8be0cf4c9ae699a4ba8fda3104b05cf90a
5d644e8b
1 parent
ae15cf7f
MerchantTableViewCell ui fixes
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 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/MerchantTableViewCell.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
5d644e8
...
...
@@ -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 @
5d644e8
...
...
@@ -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 @
5d644e8
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
5d644e8
...
...
@@ -6415,10 +6415,11 @@
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"TQn-b5-U6q"
>
<rect
key=
"frame"
x=
"18"
y=
"0.0"
width=
"378"
height=
"56"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
ambiguous=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ldh-p8-Z1j"
>
<rect
key=
"frame"
x=
"
30"
y=
"10"
width=
"129
"
height=
"36"
/>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ldh-p8-Z1j"
>
<rect
key=
"frame"
x=
"
25"
y=
"10"
width=
"160
"
height=
"36"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"160"
id=
"7YN-MD-1zb"
/>
<constraint
firstAttribute=
"height"
constant=
"36"
id=
"p6j-w9-UR3"
/>
</constraints>
</imageView>
...
...
@@ -6468,11 +6469,10 @@
</subviews>
<color
key=
"backgroundColor"
red=
"0.94901960784313721"
green=
"0.94901960784313721"
blue=
"0.95294117647058818"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<constraints>
<constraint
firstItem=
"Ldh-p8-Z1j"
firstAttribute=
"leading"
secondItem=
"TQn-b5-U6q"
secondAttribute=
"leading"
constant=
"
30
"
id=
"2aw-gT-BVN"
/>
<constraint
firstItem=
"Ldh-p8-Z1j"
firstAttribute=
"leading"
secondItem=
"TQn-b5-U6q"
secondAttribute=
"leading"
constant=
"
25
"
id=
"2aw-gT-BVN"
/>
<constraint
firstAttribute=
"height"
constant=
"56"
id=
"Xyd-6p-fo2"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"4sH-ua-n19"
secondAttribute=
"trailing"
constant=
"9"
id=
"lbe-QE-jiR"
/>
<constraint
firstItem=
"4sH-ua-n19"
firstAttribute=
"centerY"
secondItem=
"TQn-b5-U6q"
secondAttribute=
"centerY"
id=
"wGb-H6-wLJ"
/>
<constraint
firstItem=
"4sH-ua-n19"
firstAttribute=
"leading"
relation=
"greaterThanOrEqual"
secondItem=
"Ldh-p8-Z1j"
secondAttribute=
"trailing"
constant=
"40"
id=
"yXs-PY-sxL"
/>
<constraint
firstItem=
"Ldh-p8-Z1j"
firstAttribute=
"centerY"
secondItem=
"TQn-b5-U6q"
secondAttribute=
"centerY"
id=
"zmN-GO-87t"
/>
</constraints>
</view>
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MerchantTableViewCell.swift
View file @
5d644e8
...
...
@@ -76,8 +76,11 @@ class MerchantTableViewCell: UITableViewCell {
func
configureCell
(
shop
:
swiftApi
.
ShopAvailabilityItemModel
,
buttonTitle
:
String
,
iconImage
:
String
?,
showEshops
:
Bool
?)
{
if
(
showEshops
==
true
)
{
// TODO: add static image
// self.merchantImage.image = image
if
(
shop
.
_merchant_uuid
==
"ab"
)
{
self
.
merchantImage
.
image
=
UIImage
(
named
:
"eshop_ab"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
}
else
if
(
shop
.
_merchant_uuid
==
"masoutis"
)
{
self
.
merchantImage
.
image
=
UIImage
(
named
:
"eshop_masoutis"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
}
}
else
{
for
merchant
in
merchantList
{
...
...
Please
register
or
login
to post a comment