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
2022-10-14 14:06:18 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de5199a9263d62f57fa12f3ae40a79e1e7d671e9
de5199a9
1 parent
b992e175
fix back button arrow dimensions
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
3 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
de5199a
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
de5199a
...
...
@@ -219,7 +219,6 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
let
loyaltyCampaignIdExists
=
ccmsCampaigns
.
contains
{
$0
.
_loyaltyCampaignId
==
campaigns
[
indexPath
.
row
]
.
session_uuid
}
if
(
loyaltyCampaignIdExists
==
true
)
{
var
ccmsCampaignFound
:
swiftApi
.
LoyaltyContextualOfferModel
=
swiftApi
.
LoyaltyContextualOfferModel
()
for
item
in
ccmsCampaigns
{
if
(
item
.
_loyaltyCampaignId
==
campaigns
[
indexPath
.
row
]
.
session_uuid
)
{
cell
.
configureCell
(
ccms
:
item
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
de5199a
...
...
@@ -257,7 +257,6 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
let
loyaltyCampaignIdExists
=
ccmsCampaigns
.
contains
{
$0
.
_loyaltyCampaignId
==
campaign
.
session_uuid
}
if
(
loyaltyCampaignIdExists
==
true
)
{
var
ccmsCampaignFound
:
swiftApi
.
LoyaltyContextualOfferModel
=
swiftApi
.
LoyaltyContextualOfferModel
()
for
item
in
ccmsCampaigns
{
if
(
item
.
_loyaltyCampaignId
==
campaign
.
session_uuid
)
{
cell
.
configureCell
(
ccms
:
item
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
View file @
de5199a
...
...
@@ -48,7 +48,7 @@ extension UIViewController {
//your custom view for back image with custom size
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
40
,
height
:
40
))
let
imageView
=
UIImageView
(
frame
:
CGRect
(
x
:
10
,
y
:
10
,
width
:
18
,
height
:
18
))
let
imageView
=
UIImageView
(
frame
:
CGRect
(
x
:
10
,
y
:
7
,
width
:
24
,
height
:
24
))
if
let
imgBackArrow
=
UIImage
(
named
:
icon
,
in
:
Bundle
(
for
:
MyEmptyClass
.
self
),
compatibleWith
:
nil
)
{
imageView
.
image
=
imgBackArrow
...
...
Please
register
or
login
to post a comment