Skip to content

Commit

Permalink
[#142] 코드 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
meenyweeny committed Aug 12, 2022
1 parent 8b8dade commit 5f7378a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,8 @@ final class CheckMessageViewController: UIViewController {

private func setCollectionView() {
collectionView.delegate = self
registerXib()
collectionView.setCollectionViewLayout(createLayout(), animated: true)
}

private func registerXib() {
collectionView.register(MessageCollectionViewCell.self, forCellWithReuseIdentifier: MessageCollectionViewCell.identifier)
collectionView.setCollectionViewLayout(createLayout(), animated: true)
}

private func createLayout() -> UICollectionViewLayout {
Expand Down

0 comments on commit 5f7378a

Please sign in to comment.