Wallpaper_Home/wallpaper_project/Home/C/WA_TipVC.swift
忆海16 5ff1070967 mtg
2024-07-23 11:44:01 +08:00

42 lines
918 B
Swift

//
// WA_TipVC.swift
// wallpaper_project
import UIKit
class WA_TipVC: WA_RootVC {
@IBOutlet weak var tableView: UITableView!
override func viewDidLoad() {
super.viewDidLoad()
steTableViewCell()
}
func steTableViewCell(){
tableView.delegate = self
tableView.dataSource = self
tableView.register(UINib(nibName: "WA_tipCell", bundle: nil), forCellReuseIdentifier: "WA_tipCell")
}
}
extension WA_TipVC: UITableViewDelegate,UITableViewDataSource{
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
1
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "WA_tipCell", for: indexPath) as! WA_tipCell
return cell
}
}