From 85eed08ac09cdf19b83c1771ae7ff63f5cc5f649 Mon Sep 17 00:00:00 2001 From: EunsuSeo01 Date: Mon, 30 Dec 2024 08:19:42 +0900 Subject: [PATCH] =?UTF-8?q?[Chore]=20#319=20-=20=EC=95=88=20=EC=93=B0?= =?UTF-8?q?=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 내 족보 바텀 시트에서 셀 클릭 시 상세로 가는 코드는 왜 있는 거지 대체...? --- .../View/MyZipListBottomSheetViewController.swift | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Hankkijogbo/Hankkijogbo/Present/MyZipList/View/MyZipListBottomSheetViewController.swift b/Hankkijogbo/Hankkijogbo/Present/MyZipList/View/MyZipListBottomSheetViewController.swift index d9aca7f9..c30bc0c7 100644 --- a/Hankkijogbo/Hankkijogbo/Present/MyZipList/View/MyZipListBottomSheetViewController.swift +++ b/Hankkijogbo/Hankkijogbo/Present/MyZipList/View/MyZipListBottomSheetViewController.swift @@ -207,7 +207,6 @@ private extension MyZipListBottomSheetViewController { } func setupDelegate() { - myZipCollectionView.delegate = self myZipCollectionView.dataSource = self } @@ -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) - } - } -}