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
Vasilis
2022-04-29 16:35:49 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2a346b5f0593e00bb64b76dbd2da458d3a2f55b3
2a346b5f
1 parent
3411b797
addition of open methods in swiftapi
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
2a346b5
No preview for this file type
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
View file @
2a346b5
...
...
@@ -6,6 +6,7 @@
//
import
Foundation
import
SwiftUI
public
class
swiftApi
{
...
...
@@ -330,4 +331,12 @@ public class swiftApi {
public
func
getCampaigns
()
->
Array
<
CampaignItemModel
>
{
return
CampaignDataModel
()
.
getData
}
public
func
openCoupon
(
parent
:
UIView
,
coupon
:
CouponSetItemModel
)
->
UIViewController
{
return
UIHostingController
(
rootView
:
CouponView
(
parentView
:
parent
,
coupon
:
coupon
))
}
public
func
openCouponBarcode
(
parent
:
UIView
,
coupon
:
CouponSetItemModel
)
->
UIViewController
{
return
UIHostingController
(
rootView
:
CouponBarcodeView
(
parentView
:
parent
,
coupon
:
coupon
))
}
}
...
...
Please
register
or
login
to post a comment