From bda562509198465c554b89aa9497e33b0a1f1fec Mon Sep 17 00:00:00 2001 From: iamcho2 Date: Tue, 5 Oct 2021 01:07:11 +0900 Subject: [PATCH] =?UTF-8?q?[#43]=20setCell=20=ED=95=A8=EC=88=98=EB=AA=85?= =?UTF-8?q?=20renaming?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../popo/Sources/Cell/Calendar/CalendarCollectionViewCell.swift | 2 +- .../ViewController/Calendar/CalendarViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/popo/popo/Sources/Cell/Calendar/CalendarCollectionViewCell.swift b/popo/popo/Sources/Cell/Calendar/CalendarCollectionViewCell.swift index eb7d3e0..cc15495 100644 --- a/popo/popo/Sources/Cell/Calendar/CalendarCollectionViewCell.swift +++ b/popo/popo/Sources/Cell/Calendar/CalendarCollectionViewCell.swift @@ -31,7 +31,7 @@ class CalendarCollectionViewCell: UICollectionViewCell { self.thumbImageView.makeRounded(radius: 5) } - func setCell(tracker: Tracker) { + func initCell(tracker: Tracker) { if tracker.id != -1 { dateLabel.isHidden = true diff --git a/popo/popo/Sources/ViewController/Calendar/CalendarViewController.swift b/popo/popo/Sources/ViewController/Calendar/CalendarViewController.swift index e9b712e..8421fc5 100644 --- a/popo/popo/Sources/ViewController/Calendar/CalendarViewController.swift +++ b/popo/popo/Sources/ViewController/Calendar/CalendarViewController.swift @@ -160,7 +160,7 @@ extension CalendarViewController: UICollectionViewDataSource { return UICollectionViewCell() } - cell.setCell(tracker: data.tracker[indexPath.row]) + cell.initCell(tracker: data.tracker[indexPath.row]) return cell }