回答編集履歴
1
ちょこっとコード修正
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
//とりあえず背景色に変化をつけてます
|
36
36
|
|
37
|
-
cell.backgroundColor = UIColor(white:
|
37
|
+
cell.backgroundColor = UIColor(white: CGFloat(indexPath.row)/CGFloat(self.tableView(tableView, numberOfRowsInSection: indexPath.section)), alpha: 1)
|
38
38
|
|
39
39
|
|
40
40
|
|