CouponViewInterface.swift
443 Bytes
//
// CouponViewInterface.swift
// WarplySDKFrameworkIOS
//
// Created by Βασιλης Σκουρας on 21/4/22.
//
import Foundation
import SwiftUI
@available(iOS 13.0.0, *)
@objc public class CouponViewInterface : NSObject {
@objc(couponViewController:) static public func couponViewController(parentView: UIView?) -> UIViewController {
return UIHostingController(rootView: CouponView(parentView: parentView!))
}
}