Files
Woka_Native_iOS/WOKA/Theme/Controller/ThemeTwoVC.swift
Bilal 025aa41585 - Worked on autolayout and did fixes for screen iphone 6s and iphone 11pro max resolutions
- 12-1 woka meeting
- Did Rnd on Container view. This will help for theming
- Made a custom class to add the child view and remove child view.
- Added Moon if the theme color is night
- added the Ca animation for the stars to show glowing effect
- Mapped all the stars with the delay time
- Handled the theme switch
2024-05-24 19:26:54 +05:30

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#>
// }
//
//
//}