Skip to content

Commit

Permalink
[Chore] #319 - 안 쓰는 코드 제거
Browse files Browse the repository at this point in the history
내 족보 바텀 시트에서 셀 클릭 시 상세로 가는 코드는 왜 있는 거지 대체...?
  • Loading branch information
EunsuSeo01 committed Dec 29, 2024
1 parent 2f9051e commit 85eed08
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ private extension MyZipListBottomSheetViewController {
}

func setupDelegate() {
myZipCollectionView.delegate = self
myZipCollectionView.dataSource = self
}

Expand Down Expand Up @@ -358,15 +357,3 @@ extension MyZipListBottomSheetViewController: UICollectionViewDataSource {
return cell
}
}

// MARK: - UICollectionViewDelegate

extension MyZipListBottomSheetViewController: UICollectionViewDelegate {
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
if let data = viewModel.myZipListFavoriteData {
let hankkiId = data[indexPath.item].id
let hankkiDetailViewController = HankkiDetailViewController(viewModel: HankkiDetailViewModel(hankkiId: hankkiId))
navigationController?.pushViewController(hankkiDetailViewController, animated: true)
}
}
}

0 comments on commit 85eed08

Please sign in to comment.