Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- The image set has an unassigned child.
- git
- 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0
- 설명
- objectiv-C
- ios
- duplicate symbols for architecture arm 64
- Deploument Info
- 'AudioSessionSetActive' is deprecated: first deprecated in iOS 7.0 - no longer supported
- 코드설게
- 프로젝트기본설명
- 영어읽어라
- Swfit
- Unable to install
- 'openURL:' is deprecated: first deprecated in iOS 10.0
- objectiveC
- Project File List
- arch -arm64 brew install
- Swift
- iOS개발
- 버전분기
- Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
- swift하고싶다
- Xcode
- error
- HomeBrew #MAC
- swift하고싶다.
- 의존성
- The iOS deployment target
- FIRApp configure
Archives
- Today
- Total
행복한 세상의 니노
xcode - unable to dequeue a cell with idenifier cell - must register a nib or a class for the idenifier or connect a prototype cell in a storyboard 본문
카테고리 없음
xcode - unable to dequeue a cell with idenifier cell - must register a nib or a class for the idenifier or connect a prototype cell in a storyboard
니노z 2021. 4. 23. 22:38문제 :

문제코드 :
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
return cell
}
해결방법 :
1. 스타일 추가

2. 코드변경
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath) as UITableViewCell
return cell
}
반응형