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-02-07 15:40:56 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e9cd927a02466ae1ece8d0b461c57df701e4d9eb
e9cd927a
1 parent
00eb62c2
test ios min version
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
SwiftWarplyFramework.podspec
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/project.pbxproj
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponsViewController.swift
SwiftWarplyFramework.podspec
View file @
e9cd927
...
...
@@ -15,7 +15,7 @@ Pod::Spec.new do |spec|
spec
.
author
=
{
"billy"
=>
"skourasbl@gmail.com"
}
spec
.
platform
=
:ios
,
"1
3
.0"
spec
.
platform
=
:ios
,
"1
1
.0"
spec
.
source
=
{
:git
=>
"https://git.warp.ly/open-source/warply_sdk_framework.git"
,
:tag
=>
"0.2.50"
}
# spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h"
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/project.pbxproj
View file @
e9cd927
...
...
@@ -1238,7 +1238,7 @@
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSMotionUsageDescription = "We are using motion usage in order to track your step count.";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 1
3
.0;
IPHONEOS_DEPLOYMENT_TARGET = 1
1
.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
...
...
@@ -1276,7 +1276,7 @@
INFOPLIST_KEY_NSHumanReadableCopyright = "";
INFOPLIST_KEY_NSMotionUsageDescription = "We are using motion usage in order to track your step count.";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 1
3
.0;
IPHONEOS_DEPLOYMENT_TARGET = 1
1
.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
e9cd927
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponsViewController.swift
View file @
e9cd927
...
...
@@ -25,19 +25,19 @@ import UIKit
// SwiftEventBus.onBackgroundThread(self, name: "unified_coupons_fetched") { result in
DispatchQueue
.
main
.
async
{
self
.
unifiedCoupons
=
swiftApi
()
.
getUnifiedCouponList
()
self
.
tableView
.
reloadData
()
//
DispatchQueue.main.async {
//
self.unifiedCoupons = swiftApi().getUnifiedCouponList()
//
self.tableView.reloadData()
if
(
self
.
unifiedCoupons
.
count
==
0
)
{
self
.
emptyView
.
isHidden
=
false
self
.
emptyViewHeight
.
constant
=
self
.
emptyView
.
intrinsicContentSize
.
height
}
else
{
self
.
emptyView
.
isHidden
=
true
self
.
emptyViewHeight
.
constant
=
0
}
}
}
//
if (self.unifiedCoupons.count == 0) {
//
self.emptyView.isHidden = false
//
self.emptyViewHeight.constant = self.emptyView.intrinsicContentSize.height
//
} else {
//
self.emptyView.isHidden = true
//
self.emptyViewHeight.constant = 0
//
}
//
}
//
}
setBackButton
()
setNavigationTitle
(
"SUPERMARKET DEALS"
)
...
...
Please
register
or
login
to post a comment