質問編集履歴
1
cellArrayをcellNumberArrayにcellForRowAt内の[indexPath.row]の前をsortedTaskResultに変更しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -109,7 +109,7 @@
|
|
109
109
|
sortedTaskResult = realm.objects(Task.self).sorted(byKeyPath: "date", ascending: false)
|
110
110
|
|
111
111
|
|
112
|
-
cell.textLabel?.text = "(
|
112
|
+
cell.textLabel?.text = "(cellNumberArray[indexPath.row])"
|
113
113
|
cell.taskLabel.text = taskList.list[indexPath.row].name
|
114
114
|
cell.dateLabel.text = taskList.list[indexPath.row].date
|
115
115
|
|