๐ป ๊ฐ๋ฐ/์ค๋์ ์ฝ์ง
[iOS / Swift] Exception NSException * "-[UIView setText:]: unrecognized selector sent to instance
Delegate๋ก ํน์ Cell์ ํด๋ฆญํ์ ๋ ์์ธ ์ ๋ณด ํ์ด์ง๋ก ์ด๋ํ๋๋ก ๊ตฌํํ๋ค. extension ViewController : UICollectionViewDelegate { func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { guard let viewController = self.storyboard?.instantiateViewController(identifier: "DiaryDetailViewController") as? DiaryDetailViewController else { return } let diary = self.diaryList[indexPath.row] ..