- Added a star above the grass and added it to the animation. - Woke Client call 1:15 - 1:40 - Added Sidebar theme clicks and added userdefaults with checks for default loading. Also added to logout - Handled the Theme change from sidebar, also handled the default theme selected and loading it at the time of startup - Fixed issue of sidebar showing up, left side blacktint was not coming. It was the issue of ViewLifeCycle - Theme 2 Explore woka items size ratio updated for auto layouts - Worked on RootView Navigation.
42 lines
976 B
Swift
42 lines
976 B
Swift
//
|
|
// SideMenuVC.swift
|
|
// WOKA
|
|
//
|
|
// Created by MacBook Pro on 21/05/24.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class SideMenuVC: UIViewController {
|
|
|
|
@IBOutlet weak var logoutBtn: UIButton!
|
|
@IBOutlet weak var selectionMenuTrailingConstraint: NSLayoutConstraint!
|
|
@IBOutlet weak var languageControl: CustomizableSegmentControl!
|
|
|
|
@IBOutlet weak var theme1: UIView!
|
|
@IBOutlet weak var theme2: UIView!
|
|
|
|
//Theme Select Outlets
|
|
@IBOutlet weak var themeOneView: UIView!
|
|
@IBOutlet weak var themeOneCheckMark: UIImageView!
|
|
@IBOutlet weak var themeTwoView: UIView!
|
|
@IBOutlet weak var themetwoCheckMark: UIImageView!
|
|
|
|
|
|
var vm = SideMenuVM()
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
vm.vc = self
|
|
vm.initView()
|
|
}
|
|
|
|
override func viewDidLayoutSubviews() {
|
|
vm.themeSelect()
|
|
}
|
|
|
|
@IBAction func closeBtnTapped(_ sender: UIButton) {
|
|
self.sideMenuController?.hideMenu()
|
|
}
|
|
}
|