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 17:23:39 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f716060ef3f2f0ad9c7d29febbf44081ba44d4e0
f716060e
1 parent
644a5de5
fixes
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponsView.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
f716060
No preview for this file type
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponsView.swift
View file @
f716060
...
...
@@ -187,13 +187,13 @@ extension CouponsView {
VStack
(
alignment
:
.
leading
)
{
Button
{
// GiftItem Action
let
instanceOfMy
Api
=
My
Api
()
let
couponBarcodeViewController
=
instanceOfMy
Api
.
openCouponBarcode
(
parentView
,
coupon
:
result
as!
[
String
:
Any
])
!
let
instanceOfMy
SwiftApi
=
swift
Api
()
let
couponBarcodeViewController
=
instanceOfMy
SwiftApi
.
openCouponBarcode
(
parent
:
parentView
,
coupon
:
result
)
couponBarcodeViewController
.
view
.
tag
=
7
// addChild(couponsViewController)
couponBarcodeViewController
.
view
.
frame
=
parentView
.
frame
parentView
.
addSubview
(
couponBarcodeViewController
.
view
)
couponBarcodeViewController
.
didMove
(
toParent
:
UIHostingController
(
rootView
:
self
))
//
couponBarcodeViewController.didMove(toParent: UIHostingController(rootView: self))
}
label
:
{
HStack
(
alignment
:
.
center
)
{
ImageView
(
withURL
:
couponSetData
?
.
img_preview
??
""
)
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
View file @
f716060
...
...
@@ -6,6 +6,7 @@
//
import
Foundation
import
SwiftUI
public
class
swiftApi
{
...
...
Please
register
or
login
to post a comment