回答編集履歴
1
TableViewCell について追記
answer
CHANGED
@@ -10,4 +10,15 @@
|
|
10
10
|
|
11
11
|
```swift
|
12
12
|
tableView.delegate = self
|
13
|
-
```
|
13
|
+
```
|
14
|
+
|
15
|
+
実行時に下記エラーが発生する場合は `TableViewCell` の設定ができないのが原因です。
|
16
|
+
|
17
|
+
```
|
18
|
+
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier MyCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
|
19
|
+
```
|
20
|
+
|
21
|
+
設定する箇所は、Storyboardの `TableViewCell` の `Indentifier` です。
|
22
|
+
Cell に対しての情報なので、 `TableView` ではありません。
|
23
|
+
|
24
|
+

|