Skip to content

Commit

Permalink
feat/#176 tableView 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
youz2me committed Jul 14, 2024
1 parent a66e0bd commit a04c646
Showing 1 changed file with 0 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,4 @@ class ReadyStatusViewController: BaseViewController {
override func viewDidLoad() {
view.backgroundColor = .gray0
}

override func setupDelegate() {
rootView.ourReadyStatusTableView.delegate = self
rootView.ourReadyStatusTableView.dataSource = self
}
}


// MARK: UITableViewDelegate

extension ReadyStatusViewController: UITableViewDelegate {

}


// MARK: UITableViewDataSource

extension ReadyStatusViewController: UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 10
}

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
guard let cell = tableView.dequeueReusableCell(
withIdentifier: OurReadyStatusTableViewCell.reuseIdentifier,
for: indexPath
) as? OurReadyStatusTableViewCell else { return UITableViewCell() }

return cell
}

func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return Screen.height(72)
}
}

0 comments on commit a04c646

Please sign in to comment.