티스토리 뷰
NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier reuseIdentifier - must register a nib or a class for the identifier or connect a prototype cell in a storyboard' tableview
tableview의 cell 화면에 불러오는 과정에서 에러남.
스토리보드에서 Identifier 설정하고, 코드에도 똑같이 적용시켜주면 해결~
let cellIdentifier = "Customcell"
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: self.cellIdentifier, for: indexPath) as! CustomTableCell
return cell
}
반응형
'ios' 카테고리의 다른 글
[ios]앱스토어 배포 과정 및 후기 (2) | 2021.12.27 |
---|---|
[WidgetKit]TimlineProvider, TimelineEntry(작성 중) (0) | 2021.12.22 |
[WidgetKit]Widget이란? & Widget 만들기 (0) | 2021.12.22 |
[ios]앱스토어 등록 전 알아두면 좋을 것들 (0) | 2021.12.18 |
[ios]Storyboard화면 추가하기 (0) | 2021.07.22 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- xcsharedata
- closure
- 애플 인증서
- main branch
- 이분탐색
- Widget
- 파이썬
- 백준알고리즘
- SWiFT
- 백준 1065번 swift
- New Group Without Folder
- 알고리즘
- mvvm in swiftui
- 프로퍼티 래퍼
- New Group
- palera1n
- ios
- sileo
- ios mvvm
- xcuserdata
- property wrapper
- provisioning key
- 클로저
- Xcode
- 백준
- 장고
- 애플 인증
- django
- 백준 4673 swift
- readme ignore파일 포함한 repository
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함