37 lines
848 B
Swift
37 lines
848 B
Swift
|
|
//
|
||
|
|
// ThemeTwoVC.swift
|
||
|
|
// WOKA
|
||
|
|
//
|
||
|
|
// Created by Bilal on 24/05/2024.
|
||
|
|
//
|
||
|
|
|
||
|
|
import UIKit
|
||
|
|
|
||
|
|
class ThemeTwoVC: UIViewController {
|
||
|
|
|
||
|
|
weak var delegate: ChildViewControllerDelegate?
|
||
|
|
@IBOutlet weak var collectionView: UICollectionView!
|
||
|
|
@IBOutlet weak var liveTvView: UIView!
|
||
|
|
|
||
|
|
override func viewDidLoad() {
|
||
|
|
super.viewDidLoad()
|
||
|
|
liveTvView.addTapGesture { [weak self] in
|
||
|
|
guard let self else{return}
|
||
|
|
delegate?.didPressSwitchButton(from: self)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@IBAction func sideBarBtnTapped(_ sender: UIButton) {
|
||
|
|
self.sideMenuController?.revealMenu()
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
//extension ThemeTwoVC : CollectionViewSRC{
|
||
|
|
// func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
|
||
|
|
// <#code#>
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
//
|
||
|
|
//}
|