728x90
반응형
SMALL
Thread 1: "could not dequeue a view of kind: UICollectionElementKindCell with identifier SpeedTypeCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard"
self.speedCollectionView.registerCell(type: FilterTypeCell.self)
self.speedCollectionView.delegate = self
self.speedCollectionView.dataSource = self
type 부분을 다른 Cell을 호출해서 발생한 문제..!🥲
self.speedCollectionView.registerCell(type: SpeedTypeCell.self)
self.speedCollectionView.delegate = self
self.speedCollectionView.dataSource = self
SpeedTypeCell을 연결하지 않아서 발생한 문제
변경해서 수정해주니 가능!
컨트롤러뷰.registerCell(type:연결할 UI Cell)
컨트롤러와 UI를 연결해주는 코드!!
728x90
반응형
LIST
'개발 > IOS' 카테고리의 다른 글
[Xcode]Missing package product 'package name (0) | 2024.10.11 |
---|---|
ITMS-90809: Deprecated API Usage (0) | 2024.10.10 |
Unexpectedly found nil while implicitly unwrapping an Optional value (0) | 2024.01.03 |
TMapSDK.framework: No such file or directory (0) | 2024.01.01 |
ITMS-90899: Apple silicon Mac support issue (0) | 2024.01.01 |