Showing
2 changed files
with
1 additions
and
1 deletions
No preview for this file type
... | @@ -361,7 +361,7 @@ extension GiftsView { | ... | @@ -361,7 +361,7 @@ extension GiftsView { |
361 | // GiftItem Action | 361 | // GiftItem Action |
362 | // let tempItem = item.asDictionary | 362 | // let tempItem = item.asDictionary |
363 | let instanceOfMySwiftApi = swiftApi() | 363 | let instanceOfMySwiftApi = swiftApi() |
364 | - let couponViewController = instanceOfMySwiftApi.openCoupon(parentView, coupon: item)! | 364 | + let couponViewController = instanceOfMySwiftApi.openCoupon(parent: parentView, coupon: item) |
365 | couponViewController.view.tag = 2 | 365 | couponViewController.view.tag = 2 |
366 | // addChild(couponsViewController) | 366 | // addChild(couponsViewController) |
367 | couponViewController.view.frame = parentView.frame | 367 | couponViewController.view.frame = parentView.frame | ... | ... |
-
Please register or login to post a comment