Showing
3 changed files
with
11 additions
and
0 deletions
No preview for this file type
This diff is collapsed. Click to expand it.
... | @@ -6,3 +6,14 @@ | ... | @@ -6,3 +6,14 @@ |
6 | // | 6 | // |
7 | 7 | ||
8 | import Foundation | 8 | import Foundation |
9 | +import SwiftUI | ||
10 | + | ||
11 | +@available(iOS 13.0.0, *) | ||
12 | +@objc public class CouponBarcodeViewInterface : NSObject { | ||
13 | + | ||
14 | + @objc(couponBarcodeViewController::) static public func couponBarcodeViewController(parentView: UIView?, coupon: Dictionary<String, Any>) -> UIViewController { | ||
15 | + return UIHostingController(rootView: CouponBarcodeView(parentView: parentView!, coupon: coupon)) | ||
16 | + } | ||
17 | + | ||
18 | +} | ||
19 | + | ... | ... |
-
Please register or login to post a comment