質問編集履歴

1

コード追記

2019/07/25 13:47

投稿

muraramu
muraramu

スコア12

test CHANGED
File without changes
test CHANGED
@@ -13,3 +13,29 @@
13
13
  **コード**
14
14
 
15
15
  self.autoScrollLabel.text = ViewController.movieTitleList[index]
16
+
17
+
18
+
19
+
20
+
21
+ ```customCellClass.swift
22
+
23
+ //起動時の処理
24
+
25
+ func cellDispayControl(indexPath: IndexPath) {
26
+
27
+ let index = ViewController.koukaibiList[indexPath.section][indexPath.row]
28
+
29
+ self.autoScrollLabel.text = ViewController.movieTitleList[index]
30
+
31
+ //セット
32
+
33
+ let imageData = try? Data(contentsOf: ViewController.moviePosterPathList[index])
34
+
35
+ let image = UIImage(data:imageData!)
36
+
37
+ self.cellUIimageView.image = image
38
+
39
+ }
40
+
41
+ ```