Files
Woka_Native_iOS/WOKA/Home/Controller/MyListViewAllVC.swift
2024-08-08 18:47:13 +05:30

41 lines
1023 B
Swift

//
// MyListViewAllVC.swift
// WOKA
//
// Created by MacBook Pro on 08/08/24.
//
import UIKit
class MyListViewAllVC: UIViewController {
@IBOutlet weak var tableView: UITableView!
override func viewDidLoad() {
super.viewDidLoad()
setupCell()
}
func setupCell(){
tableView.register(UINib(nibName: K.CellIdentifier.Home.myListViewAllCell, bundle: nil), forCellReuseIdentifier: K.CellIdentifier.Home.myListViewAllCell)
tableView.delegate = self
tableView.dataSource = self
}
}
// MARK: - TableView DataSource , Delegates
extension MyListViewAllVC : TableViewSRC{
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 0
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: K.CellIdentifier.Home.myListViewAllCell) as! MyListViewAllCell
return cell
}
}