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-09-29 15:37:37 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0b38905826cc851cccddf00968ce3569c9c5c05a
0b389058
1 parent
452cd814
fix badge v4
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
59 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/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYInboxTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
0b38905
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
0b38905
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
0b38905
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
0b38905
...
...
@@ -22,40 +22,8 @@ import SwiftEventBus
public
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
print
(
"=== gifts viewDidLoad invoked ==="
)
self
.
hidesBottomBarWhenPushed
=
true
// var tempCampaigns:Array<swiftApi.CampaignItemModel> = []
// if (seasonalList.count > 0) {
// for seasonalItem in seasonalList {
// let newCampaign = swiftApi.CampaignItemModel()
// newCampaign._title = seasonalItem._title
// newCampaign._logo_url = seasonalItem._imageUrl
// newCampaign._loyaltyPackageId = seasonalItem._loyaltyPackageId
// tempCampaigns.append(newCampaign)
// }
// }
// if (ccmsList.count > 0) {
// for ccmsItem in ccmsList {
// if (((ccmsItem._loyaltyCampaignId == "") || (ccmsItem._loyaltyCampaignId == "NA")) && (ccmsItem._zone == "COSMOTE_APP_GIFTS4U")) {
// let newCampaign = swiftApi.CampaignItemModel()
// newCampaign._title = ccmsItem._title
// newCampaign._logo_url = ccmsItem._imageUrl
// newCampaign._ccms = ccmsItem
// tempCampaigns.append(newCampaign)
// }
// }
// }
// if (loyaltyList.count > 0) {
// tempCampaigns = tempCampaigns + loyaltyList
// }
// campaigns = tempCampaigns
setBackButton
()
setNavigationTitle
(
"GIFTS for YOU"
,
"bold"
)
...
...
@@ -99,8 +67,6 @@ import SwiftEventBus
public
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
print
(
"=== gifts viewWillAppear invoked ==="
)
self
.
refreshData
()
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYInboxTableViewCell.swift
View file @
0b38905
...
...
@@ -52,8 +52,10 @@ import UIKit
descriptionLabel
.
text
=
campaign
.
message
??
""
descriptionLabel
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Bold"
,
size
:
14
)
if
(
campaign
.
is_new
??
fals
e
)
{
if
(
campaign
.
is_new
==
tru
e
)
{
newBadgeImage
.
isHidden
=
false
}
else
{
newBadgeImage
.
isHidden
=
true
}
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MFYViewController.swift
View file @
0b38905
...
...
@@ -21,28 +21,8 @@ import SwiftEventBus
public
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
print
(
"=== mfy viewDidLoad invoked ==="
)
self
.
hidesBottomBarWhenPushed
=
true
// var tempCampaigns:Array<swiftApi.CampaignItemModel> = loyaltyList
// if (ccmsList.count > 0) {
// for ccmsItem in ccmsList {
// if (((ccmsItem._loyaltyCampaignId == "") || (ccmsItem._loyaltyCampaignId == "NA")) && (ccmsItem._zone == "COSMOTE_APP_MORE4U")) {
// let newCampaign = swiftApi.CampaignItemModel()
// newCampaign._title = ccmsItem._title
// newCampaign._logo_url = ccmsItem._imageUrl
// newCampaign._subtitle = ccmsItem._subtitle
// newCampaign._message = ccmsItem._message
// newCampaign._ccms = ccmsItem
// tempCampaigns.append(newCampaign)
// }
// }
// }
// campaigns = tempCampaigns
setBackButton
()
setNavigationTitle
(
"MORE for YOU"
,
"bold"
)
...
...
@@ -75,8 +55,6 @@ import SwiftEventBus
public
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
print
(
"=== mfy viewWillAppear invoked ==="
)
self
.
refreshData
()
}
...
...
Please
register
or
login
to post a comment