티스토리 뷰
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 |
반응형
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- PyCharm
- 항해
- 항해99
- 웹개발
- 보험
- 12기 1주차 숙제
- 웹개발3주차
- HTML
- ajax
- 12기
- 4주차
- 지니차트만들기
- python
- (여자)아이들
- 초보개발자
- 공부하기
- 현재기온
- aihtnyc_h
- 아이들팬명록
- visualstudiocode
- 유형검사
- 스파르타
- 2주차
- 사전스터디
- 아이들팬명록만들기
- Til
- 팬방명록만들기
- 웹개발종합반
- 현재기온넣기
- 스파르타코딩
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
글 보관함