//
|
// StudentExchangeVC.swift
|
// WanPai
|
//
|
// Created by 无故事王国 on 2023/6/26.
|
//
|
|
import UIKit
|
|
class StudentExchangeVC: BaseVC {
|
|
@IBOutlet weak var tableView: UITableView!
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
title = "切换学员"
|
}
|
|
override func setUI() {
|
tableView.delegate = self
|
tableView.dataSource = self
|
tableView.separatorStyle = .none
|
tableView.register(UINib(nibName: "StudentInfo_3_TCell", bundle: nil), forCellReuseIdentifier: "_StudentInfo_3_TCell")
|
}
|
|
@IBAction func addStudentAction(_ sender: UIButton) {
|
let studentVC = AddStudentVC()
|
push(vc: studentVC)
|
}
|
}
|
|
extension StudentExchangeVC:UITableViewDelegate{
|
|
}
|
|
extension StudentExchangeVC:UITableViewDataSource{
|
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
let cell = tableView.dequeueReusableCell(withIdentifier: "_StudentInfo_3_TCell") as! StudentInfo_3_TCell
|
return cell
|
}
|
|
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
|
return 10
|
}
|
}
|