質問編集履歴

2

書式の改善

2019/08/28 16:40

投稿

hironante
hironante

スコア8

test CHANGED
File without changes
test CHANGED
@@ -36,9 +36,13 @@
36
36
 
37
37
  (この記述がある場合 "class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource{")
38
38
 
39
+
40
+
39
41
  tableView.dataSource = self
40
42
 
41
43
  tableView.delegate = self
44
+
45
+
42
46
 
43
47
  のように明示的にインスタンスを渡さなくても(上記を省略しても)
44
48
 

1

誤字

2019/08/28 16:40

投稿

hironante
hironante

スコア8

test CHANGED
File without changes
test CHANGED
@@ -104,7 +104,7 @@
104
104
 
105
105
  func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
106
106
 
107
- return todo.count
107
+ return todoList.count
108
108
 
109
109
  }
110
110