ActiveGiftsViewController.swift 814 Bytes
//
//  ActiveGiftsViewController.swift
//  SwiftWarplyFramework
//
//  Created by Βασιλης Σκουρας on 11/5/22.
//

import Foundation
import UIKit

@objc public class ActiveGiftsViewController: UIViewController {
    
    @IBOutlet weak var couponButton: UIButton!
    
    public override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        setBackButton()
        setNavigationTitle("Ενεργά δώρα")
    }
    
    @IBAction func navigateToCoupon(_ sender: Any) {
        let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
        let vc = storyboard.instantiateViewController(withIdentifier: "CouponViewController") as UIViewController
        self.navigationController?.pushViewController(vc, animated: true)
    }
    
}